Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sort out duplicate results #12

Open
flzara opened this issue Apr 27, 2017 · 2 comments
Open

Sort out duplicate results #12

flzara opened this issue Apr 27, 2017 · 2 comments

Comments

@flzara
Copy link

flzara commented Apr 27, 2017

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

@evrignaud
Copy link
Owner

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

evrignaud added a commit that referenced this issue Oct 24, 2017
evrignaud added a commit that referenced this issue Oct 25, 2017
@flzara
Copy link
Author

flzara commented Feb 12, 2018

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/

@evrignaud evrignaud reopened this Feb 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants