Resume with scp
- Published July 18th, 2008 in Tips & Tricks
Secure Copy (scp) is a very interesting tool for securely transferring files over a network. If you do a lot of scp's you'll soon step against an unfinished transfer that you'll want to resume. Well, look no further. Here's an instant tip on how to resume an scp copy.
[bash]
alias scpr="rsync --partial --progress --rsh=ssh"
[/bash]
Now, restart or initiate another shell session. Instead of using scp just use the alias scpr that makes use of rsync to resume your transfer. The cream on top of the cake is the global progress bar!




It’s not scp anymore it is rsync :)
Then… why not use rsync from the beginning ?
Fixe. Eu nao sabia que rsync da com ‘resume.’ Obrigado.
-R