I've got a couple of disks which have a large set of files which are mostly the same. However, in a few cases there are files on one disk which differ from files on the other disk. There are also a lot of files where the files are identical on both drives, but the timestamps differ.
For my purposes I need to find just the files which are actually different. If I run:
rsync --dry-run -HPrlt
it find not only the files that are different, but also the files that differ only by timestamp, leaving me with extra work to determine if these are false positives or not.
I also thought to try:
rsync -c --dry-run -HPrlt
But this command takes a lot longer. In fact, the former command ran in a few seconds (presumably because the directory structure was already in cache from a previous rsync) whereas the latter command is still running. I suspect that this is because rsync is relying entirely on the checksum to determine what files need transferring, instead of something slightly more intelligent like only using a checksum if the timestamps differ.
How can I quickly see only the files that actually differ?
Note: This is not a duplicate of How to print files that would have been changed using rsync?
because as the highest rated comment to the highest rated answer points out, --dry-run will show files that are identical if their timestamps differ.