-
-
Save tuefekci/065e42132280e4af9bf0 to your computer and use it in GitHub Desktop.
Using Rsync over SSH
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 -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