Back to Tools

Quick Sync

Quick Sync Syncronization

Revision 1.0

7 years 5 months ago
2,557
Not compatible with the latest version of Piwigo
Friday 14 April 2017 7 years 5 months ago

Since i upload all my Android Photos via FolderSync and SSH, they are already on the Server in the right place. I couldn't find a proper Commandline Tool to trigger only the Syncronization of this Incoming Folder to Piwigo. So i have tried too write my own small Script. I have used piwigo_import_tree.pl as inspiration since this is my first try with a Perl Script.

In my case i run the Script via a Cronjob, but maybe later i switch to inotify or anything similar. You can run the Script manually or via Cron like this example:

perl /media/hdd/piwigo_refresh.pl --base_url=http://localhost:81/piwigo/ --user=your_username --password=your_password --directory='absolute_path_to_your_ssh_upload_dir' --caddie=0 --privacy_level=4 --cat=your_category_id --subcat=1

If you find Problems, please let me know. I will try to solve them.

Revisions 3

Revision 1.0

Released on Friday 14 April 2017

2,557

Compatible with Piwigo 2.10, 2.9, 2.8

7 years 5 months Protheus

First Release