Created
December 29, 2018 10:26
-
-
Save marhan/1e955603c3affa96edeb0bcda4ec549f to your computer and use it in GitHub Desktop.
Shell script for backup data from one volume to another.
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
#!/bin/bash | |
rsync -avzi \ | |
--delete --delete-excluded --force-delete --progress \ | |
--exclude-from /Volumes/MyData/backup-excluded.txt \ | |
/Volumes/MyData/ /Volumes/Backup/MyData/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment