Resuming scp transfers using rsync

Well, since you love that good ol’ command line, I’ll pass on to you something I found today out there on the Internets. scp (“secure copy”) is great, but it can’t resume a transfer that failed halfway in the middle.

What you can do instead, since you have rsync installed, is:

rsync --partial --progress --bwlimit=10 --rsh=ssh user@host:/remote/file/path /local/file/path

Works good!

3 Comments on “Resuming scp transfers using rsync”

  1. Adam says:

    Nice! Depending on what your downloading, that command may indeed “work good”.

  2. fourstar says:

    I’m guessing this would work no matter the file’s form.

  3. Adam says:

    Not if you were downloading a Bad file!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s