Created
February 13, 2018 10:46
-
-
Save JAW-Dev/80ce1600590bc6f4190123c4137c3884 to your computer and use it in GitHub Desktop.
rsync to and from a remote server
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 -rP --rsh='ssh -p Port' usename@domain:~/remote-directory/ /local-directory | |
rsync -rP --rsh='ssh -p Port' /local-directory usename@domain:~/remote-directory/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment