Skip to content

Instantly share code, notes, and snippets.

@DrewDouglass

DrewDouglass/rsync.sh

Last active Jun 9, 2020
Embed
What would you like to do?
Rsync from remote to local with custom ssh port
# 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