Resume (secure) copy
If you need to transfer big files, sometimes the network connection breaks down and you need to restart the transfer. Using the following command, you can start and resume (!) a file transfer:
rsync --partial --progress--rsh=ssh localFileusername@remoteMachine:remoteDirectory/
If you generally want to use the above command add the following line to your ~/.bashrc and just use the new scpresume command:
alias scpresume="rsync --partial --progress --rsh=ssh
Many thanks to Joen.dk who came up with the idea!
February 14th, 2010 at 21:19
LOL, just what I did a while ago