Created
March 11, 2020 14:27
-
-
Save andrejb-dev/954b70e012cfbcf66223f0a3f88973f0 to your computer and use it in GitHub Desktop.
automated shell script to sync folder content (personal photos) to another folder with rsync
This file contains hidden or 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
0 2 * * * /home/scripts/mirror_photos.sh |
This file contains hidden or 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
echo 'Starting photos sync...' | |
rsync --recursive --times --human-readable --ignore-existing /mnt/wd500/Photos /mnt/wd80/Photos --log-file=/home/rsync_logs/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment