pauldreik / rdfind

find duplicate files utility
Other
980 stars 79 forks source link

Option to skip files with different attributes #123

Open vanschelven opened 2 years ago

vanschelven commented 2 years ago

It would be nice if there were an option to skip files which have different attributes, e.g. permissions, owner/group, date/time. Potentially even with separate command-line arguments for each of these.

The reason would be: when rdfind is used with -makehardlinks, such information is lost, because the information is contained in the inode, and only a single inode remains after pointing the various files to a single inode. This may not always be what you want.

Personally, I'm using rdfind together with rsync in a backup-with-snapshots setup; in that scenario it is a problem that rsync detects changes when files that have been marked by rdfind as duplicates (and folded into a single inode) have different modification dates than the files on the source system.