Last active
December 18, 2015 00:18
-
-
Save tkalfigo/5695645 to your computer and use it in GitHub Desktop.
How to resume an interrupted scp
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 --partial --progress -av --rsh=ssh local_file [email protected]:~/ | |
$ rsync --partial --progress -av --rsh=ssh [email protected]:~/remoteFolder/ ./localFolder/ | |
Or shorter version | |
$ rsync -av -P -e ssh SRC DEST | |
If ssh is on a non default port: | |
$ rsync -av -P -e "ssh -p 32700" SRC DEST |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment