fim icon indicating copy to clipboard operation
fim copied to clipboard

Sort out duplicate results

Open flzara opened this issue 8 years ago • 2 comments

Hello,

Currently duplicate results are

  • sorted by wasted size in decreasing order
  • in a format not easily manipulable with standard tools like the unix sort command.

Is it possible to add a --sort option to the fdup sub-command with a parameter that will sort results by

  • numbers of files in the duplicated set
  • size of individual file in a set
  • filepath similarity

Thank you

flzara avatar Apr 27 '17 19:04 flzara

It's not clear what could mean sorting on "filepath similarity". I have implemented the other sort methods. Not this one.

evrignaud avatar Oct 24 '17 17:10 evrignaud

Thank you for taking this enhancement request into account.

By filepath similarity, I meant a path comparison from the root. e.g.:

/path/to/my/file/ is more similar to /path/to/my/otherfile/ than /path/to/another/file/

flzara avatar Feb 12 '18 06:02 flzara