galleryadd.pl - Advice to upload/ update nested directory structure

fundutzi
fundutzi's picture

Joined: 2006-04-02
Posts: 1
Posted: Sun, 2006-04-02 20:47

Dear Sir,

My system details are right at the end of this post.

I have a great number of photos in directory structures. Photos get added at times to various sub directories. You can see how I host it at the moment here:
http://www.fundutzi.com/PhotoWeb/index.htm

My first question. What is the best way to automatically upload/update a large folder structure to Gallery? I found galleryadd.pl provided by Iain. This is great. But. The update feature does not work that well fro me. This is what it looks like at the moment without the duplication:
http://70.87.94.194/~lewe/PG-Gallery/main.php

When you run it again for the same folder structure it creates a duplicate Gallery. This is no good as I have to delete the old gallery then, losing all the statistics for the Gallery.

Any advice as to have some sort of automatic script that I can run to publish only new and changed entries without affecting the old entries in my Gallery?

Your advice will be much appreciated.

Regards

Peter

********System Details**********
Gallery version = 2.0.2 core 1.0.0.2
PHP version = 4.4.1 apache
Webserver = Apache/1.3.34 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.4.1 FrontPage/5.0.2.2635 mod_ssl/2.8.25 OpenSSL/0.9.7a
Database = mysql 4.1.14-standard
Toolkits = ArchiveUpload, Exif, ImageMagick, Gd
Operating system = Linux shelby.websitewelcome.com 2.6.9-22.0.2.ELsmp #1 SMP Thu Jan 5 17:13:01 EST 2006 i686
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1