Re:How does rsync work?
by orangepurple on Saturday July 02, 2022 @11:33AM
(#31959885)
rsync uses a heuristic based on file times and sizes to compare files. to compare file content use the --checksum feature (computationally expensive to run)
[ Parent
| on HN ]
Yes but it doesn't answer why rsync & checksum pass the set of files as same, but diff reports them different.
It isn't clear from the conversation so far: do you use "--checksum"?
Re:How does rsync work?
by Dylan16807 on Saturday July 02, 2022 @12:52PM
(#31960580)
Rsync can checksum a lot of megabytes per second. In general I'd say the disk IO is much more expensive than the computation.