a guest Jan 21st, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- while [[ true ]] ; do
- # performs synchronizations / copy
- rclone sync ....
- # waiting for something to change or it will pass 300 seconds
- inotifywait --recursive --timeout 300 -e modify,delete,create,move SRC_DIR
- # going back to the beginning
RAW Paste Data