website stat

Resume with scp

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!


2 Responses to “Resume with scp”

  1. Diogo Gomes
    Published at July 18th, 2008 at 11:41 am

    It’s not scp anymore it is rsync :)

    Then… why not use rsync from the beginning ?

  2. mormon
    Published at August 11th, 2008 at 6:54 pm

    Fixe. Eu nao sabia que rsync da com ‘resume.’ Obrigado.
    -R

Leave a Comment

Comments for this post will be closed on 15 November 2008.