I want to move some files using rsync, but it's vital that the files are intact at the destination before removing the source files. The thing is, I can't find any information telling me how rsync decides that a file has been transferred correctly: I'll need it to be properly checksummed.
Anyone know how rsync does it?
How safe is rsync –remove-source-files
rsync
Best Answer
You need to pass the
--checksum
to ensure files that have the same size & times on source and destination are not skipped. Then, as per Wikipedia: