I'm looking for a way to have images automatically sync to Piwigo when I upload them to my NAS. I can mount a directory from the NAS onto the box running Piwigo, but I still have to click Synchronize in the admin interface.
I'd like to trigger Synchronize via either a cronjob or inotify trigger, but I can't seem to find a way to do that. Perhaps tools/piwigo_remote.pl holds the key?
Thanks for any advice!
I'm looking for a way to have images automatically sync to Piwigo when I upload them to my NAS. I can mount a directory from the NAS onto the box running Piwigo, but I still have to click Synchronize in the admin interface.
I'd like to trigger Synchronize via either a cronjob or inotify trigger, but I can't seem to find a way to do that. Perhaps `tools/piwigo_remote.pl` holds the key?
Thanks for any advice!
<!-- github-sync-id:280780944 -->
It would be nice to have a CLI for Piwigo, but we don't. There is no "sync" method in Piwigo web API neither. But it doesn't mean you can't find a workaround. See this old forum topic http://piwigo.org/forum/viewtopic.php?pid=110429#p110429
And instead of searching it again in the future, I add it in Piwigo as tools/remote_sync.pl
It would be nice to have a CLI for Piwigo, but we don't. There is no "sync" method in Piwigo web API neither. But it doesn't mean you can't find a workaround. See this old forum topic http://piwigo.org/forum/viewtopic.php?pid=110429#p110429
And instead of searching it again in the future, I add it in Piwigo as tools/remote_sync.pl
<!-- github-comment-id:351962302 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
I'm looking for a way to have images automatically sync to Piwigo when I upload them to my NAS. I can mount a directory from the NAS onto the box running Piwigo, but I still have to click Synchronize in the admin interface.
I'd like to trigger Synchronize via either a cronjob or inotify trigger, but I can't seem to find a way to do that. Perhaps
tools/piwigo_remote.plholds the key?Thanks for any advice!
It would be nice to have a CLI for Piwigo, but we don't. There is no "sync" method in Piwigo web API neither. But it doesn't mean you can't find a workaround. See this old forum topic http://piwigo.org/forum/viewtopic.php?pid=110429#p110429
And instead of searching it again in the future, I add it in Piwigo as tools/remote_sync.pl
I have found this, which I will probably be testing soon: https://github.com/pommes-frites/piwigo-scripts.
Still need that in 2026