lycheesync
lycheesync copied to clipboard
Add inotify support (can be run as a deamon on startup)
an easier method might be to do something along the lines of:
while newfile=`inotifywait ...`
do
lycheesync ... $newfile ...
done
I do something similar to enforce a certain permission policy on directories (under certain shared directories I want files to always belong to a certain group and the group should always have the same permissions as the owner). If you are interested I will post the script as an example.
Hi Enoch, I'm interested with your script. I intend to bascially code the loop your describe inside lycheesync's main function (behavior to be conditioned by a command line switch)
here is the script: https://mechbits.com/owncloud/index.php/s/MnyHfb8IhCSCD0N