SHARE
TWEET

Untitled




Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- #!/bin/bash
- 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
- done
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.