3

Just curious if anyone knows of a tool that'll copy files, and should the file get interrupted, have it resume where it's left off the next time it's invoked.

I'm basically trying to copy something over samba using an unreliable WiFi connection. Ideally I'd like something like wget or axel that works over samba/file system. Cygwin or Windows solutions would be ideal.

Flyk
  • 1,549
  • 1
  • 22
  • 28
Eddie Parker
  • 3,054

3 Answers3

4

rsync will do this for you, over a samba share or over SSH. See man rsync on your system for the gory details. rsync is available as a Cygwin package.

Use -P or --partial for resuming an interrupted transfer.

There are lots of rsync questions already on this site; see https://superuser.com/questions/tagged/rsync for examples of how others are using it.

quack quixote
  • 43,504
1

I don't think RoboCopy is ideal for this situation. RoboCopy is mostly used when backing up an active partition that has the OS on it. It is able to copy files that are locked and in use, therefore creating a complete backup even while the OS is being used. Take a look at TeraCopy, not only will it help you here but you might be pleasantly surprised at the speed increase and greater reliability on local Windows transfers.

mpaw
  • 3,582
-1

Hrmm, just found RoboCopy. Might be worth looking into!

nik
  • 57,042
Eddie Parker
  • 3,054