Last active
June 9, 2020 18:53
-
-
Save DrewDouglass/5e1167d36c2c0acd91f1 to your computer and use it in GitHub Desktop.
Rsync from remote to local with custom ssh port
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
# Simple with recursion and info/progress | |
rsync -havzP --stats remote@host:/your/path ~/Desktop/your/folder | |
#Custom Port | |
rsync -chavzP --stats -e "ssh -p 1999" remote@host:/path/to/files ~/Desktop/local/folder |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment