MacOS – I canceled (control+c) rsync transfer on a large file; will it be picked up if I start over

macosrsyncterminal

I am coping a about 5TB of data from a Drobo attacked to a Mac Mini running macOS Sierra to a NAS (FreeNAS). Here's the command I am using:

sudo rsync -a –stats –progress "/Source" "/Destination"

Needless to say, it is taking days to complete, even over a 1GB network. Along the way, I had to stop the transfer due to server trouble. I remember explicitly stopping the rsync process using control + c while it was transferring a Parallels virtual hard drive file about 500GB. I later started the process again using the command above but I didn't note which Parallels VM file it stopped on and I want to make sure that the command I am using will pick that file up, despite having canceled the command the first round.

If I cancel the rsync command above, do in-flight files just get deleted, and if I run the command above again, will it see those file(s) as new files never transferred?

Best Answer

If you use the --partial option, the partially-transfered file is kept, and subsequent transfers should be much faster. It's probably a good idea to use it with large file transfers in general.