Now, you might get some strange (to me) errors after extracting galleryaadd.pl from the tar archive (tar xfz galleryadd.tar.gz) and running it (./galleryadd.pl).
Can't locate HTTP/Request/Common.pm in @INC (@INC contains: /usr/lib/perl5/5.8.8/i586-linux-thread-multi
/usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.8/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl .) at /usr/bin/galleryadd line 151.
BEGIN failed--compilation aborted at /usr/bin/galleryadd line 151.
Well, all that is needed is to get yourself a few RPMs: perl-HTML-Parser, perl-HTML-Tagset and perl-libwww-perl
Now you should be able to upload as many JPGs as your heart desires.
I run Gallery on this webserver to mantain my snapshots updated. Using the form based upload tool provided by this PHP application makes uploading more than 10 images at a time very tedious. In comes galleryadd.pl.