Created
September 18, 2015 09:06
-
-
Save Voronenko/9d2ef333f7b653758854 to your computer and use it in GitHub Desktop.
Safe files pump from box to box
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
# rsync -aAXvzh --progress --delete --ignore-errors --delete-excluded <path> <remote_host>:<remote_path> | |
rsync -aAXvzh --progress --delete --ignore-errors --delete-excluded --exclude={"/home/*/.cache/*","/home/*/Movies/*","/home/*/Music/*","/home/*/.Skype/*"} -- " /home /root /etc remote_host:~/backups/`hostname` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment