-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
No deletion: all mail differences within limits #97
Comments
I just released v4.0.0 of the CLI: https://github.com/kdeldycke/mail-deduplicate/releases/tag/v4.0.0 Can you try that out please? And tell me if it fixes your issue? |
As for you suggestion of renaming the file instead of deleting the duplicates, I created a feature request for this at: #98 |
The above result is for V4.0.0. Thanks for responding. Best wishes. |
Can you run the CLI in debug mode ( |
Gives this kind of messages:
|
I just released a new v5.0.0 version: https://github.com/kdeldycke/mail-deduplicate/releases/tag/v5.0.0 Can you check it out please? |
Nothing seems to be deleted. I have tried different deletion strategies. See the relevant logs: When using delete-older (date-header)--- 2 mails sharing hash 01327175d87a9078a30b00ea63574694907b613f2efd06e79f2da5ea When using delete-smaller--- 2 mails sharing hash 01327175d87a9078a30b00ea63574694907b613f2efd06e79f2da5ea |
I think I have an idea. It seems the sets of two mails are perfectly identical even after all the normalisation and canonicalisation. Which means whatever the strategy selected, there is not enough difference (by date or by size) to choose among the duplicates which one to keep/discard. All in all, I guess we need a kind of |
If it is easier, one could also do keep-alphabetically-first or keep-alphabetically-last using file names. That would also solve the problem. |
I just implemented mail-deduplicate/mail_deduplicate/strategy.py Lines 168 to 175 in 3104982
This will be part of the upcoming v6.0.0 release, but you can try it out by clone the |
Also in v6.0.0. I implemented #98 , i.e. a way to move or copy selected duplicate mails to a brand new box instead of deleting them in place. With all that you should be able to perform the deduplication you're looking for. |
Just tried with Thank you. |
Yes. This is neat.
Vikas
…On Tue, 13 Oct 2020 at 12:50, matclab ***@***.***> wrote:
Just tried with poetry run mdedup -a delete-selected -s
select-all-but-one folder and it seems to work like a charm.
Thank you.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#97 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADVDTHRY52D765LZ3WSHTLSKP5SXANCNFSM4SBGPQFA>
.
|
Thanks a lot for your feedback! I'll now close this issue as resolved then. I'll probably release v6.0.0 in the next few days. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I am using
mdedup -C -1 -S -1 -s delete-smaller maildirname
But I still get "Check that mail differences are within the limits." messages, and nothing is deleted. All duplicates are either ignored or skipped.
What might be wrong?
Is there a way to rename the files rather than delete duplicates?
Thanks for help.
Vikas
The text was updated successfully, but these errors were encountered: