Last active
February 19, 2016 11:15
Using Rsync over SSH
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 -rlptuvhz -e ssh [email protected]:/path/to/dir . | |
# -r Recursive | |
# -l Copy symlinks as symlinks | |
# -p Copy permisisons | |
# -t Copy times | |
# -u Update. Skip files that are newer on receiving end. | |
# -v Verbose. | |
# -h Output numbers in a human-readable format | |
# -z Use compression when sending data over the network. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment