Linux Hack – How to Resume SCP Transfers after Interruption!

For those of you who need to “resume” SCP file transfers that have been interrupted, there’s an easy way to resume them using rsync command.

Use this:

alias scpresume="rsync --partial --progress --rsh=ssh"

For Ubuntu or Debian add sudo:

alias scpresume="sudo rsync --partial --progress --rsh=ssh"

This is great since you won’t have to restart your file transfers if you happened to be transferring files around 100GB.

Perks include understanding the same user@host:path syntax as scp as well as being able to resume a broken scp download (Note: I’m not guaranteeing this, but after downloading 90% of 400MB I was able to pick up the rest using this).

via panela

Leave a Reply

Your email address will not be published.


Other interesting stuff at Zedomax.com: , , , , , ,
Check out more interesting categories: Computer, Fedora, Hack, HOWTO, Linux, Ubuntu.


Related News and Resources