The Samba-Bugzilla – Bug 8252
Last modified: 2011-07-04 21:48:35 UTC
Created attachment 6606 [details]
example file to compare
No difference seen between two files but diff is positive.
It's impossible to include two files, so the contents of config.2 is below.
rsync -Cavzin config.1 config.2
-bash-3.00# rsync -Cavzin config.1 config.2
sending incremental file list
sent 51 bytes received 15 bytes 132.00 bytes/sec
total size is 80 speedup is 1.21 (DRY RUN)
As the itemized output indicates, the modify time isn't the same. See the --checksum option for one possible solution. See also --size-only, but be REALLY sure you know what you're doing if you use that.
(In reply to comment #1)
> As the itemized output indicates, the modify time isn't the same. See the
> --checksum option for one possible solution. See also --size-only, but be
> REALLY sure you know what you're doing if you use that.
I know the time modified should be different but I would expect this output:
In config.1 the commented lines are number 1 and 3.
In config.2 the commented lines are number 1 and 4.
It's impossible to tell without the second file attached, but I assume the only difference is that the hash (#) moved, which means the size isn't different, so 's' shouldn't show up.