Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
orangepurple
on July 2, 2022
|
parent
|
context
|
favorite
| on:
How does rsync work?
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)
srvmshr
on July 2, 2022
|
next
[–]
Yes but it doesn't answer why rsync & checksum pass the set of files as same, but diff reports them different.
pronoiac
on July 2, 2022
|
parent
|
next
[–]
It isn't clear from the conversation so far: do you use "--checksum"?
Dylan16807
on July 2, 2022
|
prev
[–]
Rsync can checksum a lot of megabytes per second. In general I'd say the disk IO is much more expensive than the computation.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: