Back to Narzędzias

Quick Sync

Quick Sync Syncronization

Revision 1.0

8 years 1 month ago
2,625
(1)
Not compatible with the latest version of Piwigo
piątek 14 kwiecień 2017 8 years 1 month 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.

Read more ... Read less

Revisions 3

Wersja 1.0

Released on piątek 14 kwiecień 2017

2,625

Compatible with Piwigo 2.10, 2.9, 2.8

8 years 1 month Protheus

First Release