rdfind icon indicating copy to clipboard operation
rdfind copied to clipboard

Differentiate on metadata

Open roaima opened this issue 5 years ago • 1 comments

Please consider an option to treat files as different unless they have the same permissions, owner/group, and modification time.

Simplified use case as an example: a UNIX/Linux system with a stock ".bash_profile" in each user's home directory. These are not really duplicates because they each have their own owner/group, permissions, and date/time metadata.

At the moment I can use rdfind to generate a list of files that are duplicates by data, but I then have to post-process the results.txt file to determine whether or not they are true duplicates.

roaima avatar May 02 '20 19:05 roaima

This is definitely worth considering. Caveats include all the combinations of property that differs (owner/group/time/perms) and what action is taken (symlink, hardlink). This is not trivial to find out what is the right answer. Also, these things needs test, which does not seem to be popular to add in pull requests....

pauldreik avatar Sep 14 '20 07:09 pauldreik