[Bug 13385] rsync sometimes silently transfers more or fewer mtimes than it should

samba-bugs at samba.org samba-bugs at samba.org
Sat Apr 14 10:30:21 UTC 2018


https://bugzilla.samba.org/show_bug.cgi?id=13385

--- Comment #1 from Silvan Schmitz <silvanschmitz at gmail.com> ---
Oops, I copy-pasted incorrectly and forgot the --size-only for the second test
case -- as I wrote it, both rsync's output and the result will be different.
Here's what I should have written (bug's still there):

$ mkdir a b
$ touch -d "2018-04-13 12:00:00.123" a/test
$ touch -d "2018-04-13 12:00:00.456" b/test
$ stat --format "%n: %y" {a,b}/test
a/test: 2018-04-13 12:00:00.123000000 +0200
b/test: 2018-04-13 12:00:00.456000000 +0200
$ rsync -ai at -1 --size-only a/ b/
.d..t...... ./
.f..t...... test
$ stat --format "%n: %y" {a,b}/test
a/test: 2018-04-13 12:00:00.123000000 +0200
b/test: 2018-04-13 12:00:00.456000000 +0200

-- 
You are receiving this mail because:
You are the QA Contact for the bug.



More information about the rsync mailing list