galleryadd.pl 2.0 adds to the wrong directory

jabela

Joined: 2004-08-25
Posts: 15
Posted: Fri, 2006-04-21 01:18

Gallery URL (optional but very useful):
Gallery version: 1.5.3
Apache version:Apache/2.0.54 (Debian GNU/Linux) DAV/2 PHP/4.3.10-16 mod_ssl/2.0.54 OpenSSL/0.9.7e
PHP version (don't just say PHP 4, please):PHP Version 4.3.10-16
Graphics Toolkit: NetBPM
Operating system:Linux 2.4.27-2-686
Web browser/version (if applicable): IE or Firefox (any version)
Version of galleryadd.pl: 2.0

Here's my problem
galleryadd.pl will only upload to the correct album if I do this:

./galleryadd.pl -c 2006-03-31_Tulum_Ruins 2006-03-31_Tulum_Ruins/*.*

That will only upload the contents of Tulum Ruins, and not any subfolders.

What I want to do (and used to be able to do with older versions of galleryadd.pl) is to add all pictures and subfolders in a folder.
ie. ./galleryadd.pl -c 2006-03-31_Tulum_Ruins 2006-03-31_Tulum_Ruins*

I used to do that with the old version and it would add all folders recursively.

If I run that now, it correctly adds the subfolders, but the pictures are put in the root albums directory instead of the correct subfolder.

Thanks in advance for your help.
~jabela