Last active
August 29, 2015 14:14
-
-
Save adrianwebb/d5dfff325b2150820b7d to your computer and use it in GitHub Desktop.
Remote rsync command template
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 -avz --exclude "{DIR}" -e "ssh -i {PRIV_KEY} -p {PORT}" {LOCAL_DIR}/ {USER}@{IP}:{REMOTE_DIR}/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Don't forget the trailing slashes on directories!