Resume transfer with scp and rsync
Today I feel like writing in English, but don’t worry, It wont be too much.
This trick becomes is very handy when transferring large files over the CLI and suddenly the connection is lost.
HOW-TO-RESUME-SCP-TRANSFER
scp does not support any kind of transfer recovery, so what can you use instead? rsync over ssh!
$ export RSYNC_RSH=’ssh [OPTIONS]‘
$ rsync –partial –progress <source> <destination>
Done! That’s it for today.
Cheers
Miguel
Comentarios