scp with resume

scp is very handy tool to securely copy files from remote computer. One disadvantage with it is, it doesn't support resume. With little trick and little help from the command rsync we can securely copy files from remote computer with resume facility.

And the command is
rsync --partial --progress --rsh=ssh username@host:remote_file local_file

Comments

  1. One problem i had was that i'd tunnelled the ssh port.
    To use a non-default, do "--rsh='ssh -p '".
    Seems to work for me, but is this the best way?

    ReplyDelete

Post a Comment

Comments are moderated. No spam please.

Popular posts from this blog

Perm Root HTC Desire Gingerbread 2.3.3

[Solved] invalid partition table on /dev/sda -- wrong signature 0.

Essential adb Command Examples