Created
June 25, 2017 11:56
-
-
Save metzenseifner/a14529ecdc18992fa76391e15fe4a36e to your computer and use it in GitHub Desktop.
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
SOURCE="/path/to/somewhere/" # slash means exclude "whatever" itself, but get everything underneath | |
DESTINATION="username@computer.local:/path/to/somewhere" | |
rsync -e 'ssh -p3022'\ | |
--archive \ | |
--compress \ | |
--progress \ | |
--partial \ | |
--ignore-existing \ | |
--human-readable \ | |
"$SOURCE" \ | |
"$DESTINATION" \ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment