News for hackers. Stuff that matters.
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)
Re:How does rsync work? by srvmshr on Saturday July 02, 2022 @01:11PM (#31960715)
Yes but it doesn't answer why rsync & checksum pass the set of files as same, but diff reports them different.
Re:How does rsync work? by pronoiac on Saturday July 02, 2022 @05:29PM (#31962624)
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.