Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # Author magarto
- # Change edu to the name of your rclone Google drive folder profile name
- # Save as "/user/local/bin/rclon-switch" and "chmod +x" it
- # Add it to your crontab to execute it dayly
- if [[ ! $(pgrep -f rclone) ]]; then
- rclone copy -v "hbg:/hbg" "edu:/hbg" --exclude "/NSP Dumps/demo/" --exclude "/NSP Dumps/demo_updates/" --exclude "/NSP Dumps/base/base-stuck" -P --size-only #--bwlimit 8500k
- rclone dedupe edu:
- fi
- exit 0
Advertisement
Add Comment
Please, Sign In to add comment