This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# source Lmod if it's not already sourced - cron starts in clean environment | |
if [ -z "$LMOD_VERSION" ]; then | |
source /etc/profile.d/chpc.sh | |
fi | |
ml rclone | |
# --links needs rclone >= 1.46 | |
rclone -v sync /home/mcuma ubox:tallboy/mcuma --exclude-from /home/mcuma/bin/scripts/exclude.txt --links >& /home/mcuma/bin/scripts/backup.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# source Lmod if it's not already sourced - cron starts in clean environment | |
if [ -z "$LMOD_VERSION" ]; then | |
source /etc/profile.d/chpc.sh | |
fi | |
ml rclone/1.41 | |
rclone -v sync /home/mcuma gdrive:tallboy/mcuma --exclude-from /home/mcuma/bin/scripts/exclude.txt --skip-links >& /home/mcuma/bin/scripts/backup.log | |
#rclone -v sync /home/mcuma gdrive:tallboy/mcuma --backup-dir /home/mcuma gdrive:tallboy/mcuma_archive --exclude-from /home/mcuma/bin/scripts/exclude.txt >& /home/mcuma/bin/scripts/backup.log |