As a total newbie, after reading tons of questions in SO and the documentation repetitively several times, I came up with this solution:
rsync -Pavuh --append-verify source destination
Where --append-verify
flag implies --inplace
flag and --inplace
flag implies --partial
and I only put the -P
flag there because I am lazy to write --progress
separately.
Yet, when I issue this command, and Ctrl+C
it in the middle of a big file, and then re-issue it, after it finishes I see that that big file is left where I cut it off.
The right behaviour should be as per documentation to leave the partially transferred file as-is on cancellation according to the --partial
flag (which is done) and then continue to append to it on the second trial according to the --append-verify
flag.
How can I make rsync resume from where it was interrupted?