Indice Aiuto

Quick Sync

Media :
non ancora votato

  • Autore: Protheus
  • Categorie: Attrezzo
  • Tags: Quick Sync, Syncronization
  • Data della prima revisione: 2017-04-14
  • Data dell'ultima revisione: 2017-04-14
  • Compatibile con: Piwigo release 2.8, 2.9
  • Download: 178

Descrizione: 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.

Lista delle revisioni

Espandere/Ridurre tutto

Revisione 1.0 178 Download, Aggiunto il 2017-04-14
Scaricare la revisione 1.0

Compatibile con: 2.9, 2.8

First Release

github twitter facebook google+ newsletter Donazioni Piwigo.org © 2002-2017 · Contattaci