https://bugzilla.samba.org/show_bug.cgi?id=13735
Sébastien Béhuret <sbehu...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|WONTFIX |--- Status|RESOLVED |REOPENED --- Comment #4 from Sébastien Béhuret <sbehu...@gmail.com> --- Quick workaround to find backdated files that may be -wrongly- ignored by rsync: # print if ctime > mtime find /path/to/source/ -type f -exec bash -c 'test `stat -c "%Z" "{}"` -gt `stat -c "%Y" "{}"`' \; -print However, on a regular system, most files will be backdated, e.g. if they have been moved or permissions/ownership were altered, which makes the above command unpractical. A practical use case is the following: An initial transfer was done a year ago and we want to update the destination incrementally. To find backdated files that may be ignored by rsync, we have to look for files that were backdated after the original transfer: # print if ctime - mtime > 1y (31536000s) # difference between the time of the original transfer and the time of the incremental update find /path/to/source/ -type f -exec bash -c 'test `expr \`stat -c "%Z" "{}"\` - \`stat -c "%Y" "{}"\`` -gt 31536000' \; -print Re-opening this bug report as there is currently no satisfactory solution to ensure rsync will transfer all modified files during incremental updates. -- You are receiving this mail because: You are the QA Contact for the bug. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html