Created
January 22, 2013 19:55
-
-
Save ericvanjohnson/4597880 to your computer and use it in GitHub Desktop.
Rsync over SSH using SUDO on the remote server
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 -ave "ssh" --rsync-path="sudo rsync" USER@REMOTE_SERVER:/remote/file/path/ /local/file/path |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment