Created
December 4, 2013 20:58
-
-
Save ev3rywh3re/7795421 to your computer and use it in GitHub Desktop.
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
# Rsync command to mirror, delete, with excludes over ssh on a weird port | |
rsync -avz --delete --exclude *backups --exclude ERROR_LOG* -e 'ssh -p 2222' [email protected]:/from-location/ [email protected]:~/tolocation/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment