This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author chanke
Recipients AlexVndnblcke, andrei.avk, chanke, josh.r
Date 2021-07-12.22:30:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1626129015.57.0.365620942092.issue42958@roundup.psfhosted.org>
In-reply-to
Content
Hi Andrei,

I would follow rsync. 
From the man page:
"""
[...]
 -c, --checksum
              This changes the way rsync checks if the files have been changed and are in need of a transfer.   Without  this  option,  rsync
              uses  a  "quick  check" that (by default) checks if each file’s size and time of last modification match between the sender and
              receiver. 
[...]
"""

so, yes you can have false positives with a shallow comparison of size + mtime only. But that's usually ok for e.g. incremental backups. 


Wow, the bug is that old...
History
Date User Action Args
2021-07-12 22:30:15chankesetrecipients: + chanke, josh.r, andrei.avk, AlexVndnblcke
2021-07-12 22:30:15chankesetmessageid: <1626129015.57.0.365620942092.issue42958@roundup.psfhosted.org>
2021-07-12 22:30:15chankelinkissue42958 messages
2021-07-12 22:30:15chankecreate