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

🎁 Multiple strategies #647

Open
portalgun opened this issue Apr 2, 2024 · 0 comments
Open

🎁 Multiple strategies #647

portalgun opened this issue Apr 2, 2024 · 0 comments
Assignees
Labels
🎁 feature request Not existing yet and need to be implemented 🙏 help wanted I can't do this alone and need contributors

Comments

@portalgun
Copy link

portalgun commented Apr 2, 2024

Is your feature request related to a problem? Please describe.
I am trying to cleanup a large mail directory in a single command. I have emails that are exactly identical and some with different dates.
I would like to be able to select the older duplicate if dates do not match, otherewise select a random one.

Describe the solution you'd like
Would make sense to use multiple flags like for --hash-header:
--strategy select-oldest --strategy select-one
If a set is going to be skipped, try the next one.

Describe alternatives you've considered
I can write a script to make mdedup run multiple times, but this doesn't seem very efficient --- requires recomputing hashes.

@portalgun portalgun added 🎁 feature request Not existing yet and need to be implemented 🙏 help wanted I can't do this alone and need contributors labels Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎁 feature request Not existing yet and need to be implemented 🙏 help wanted I can't do this alone and need contributors
Projects
None yet
Development

No branches or pull requests

2 participants