Re: mass removal of duplicates

Subject: Re: mass removal of duplicates

Date: Thu, 31 Jul 2025 08:06:58 -0700

To: Alan Schmitt, David Bremner, notmuch

Cc:

From: Jameson Graef Rollins


On Thu, Jul 31 2025, Alan Schmitt <alan.schmitt@polytechnique.org> wrote:
> Hello David,
>
> On 2025-07-31 07:51, David Bremner <david@tethera.net> writes:
>
>> With the caveat that it is always good to have backups, something like
>>
>>      notmuch search --duplicate=2 --output=files '*' | xargs rm
>
> This is a great start, thanks. I think I’ll build up on this to have a
> tool that shows me the duplicates side by side so that I can choose
> which one to keep.

I'll note that notmuch determines message uniqueness based solely on the
message ID, so it's possible for two messages to be considered
"duplicate" if their message IDs are the same even if their content is
completely different.

jamie.
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: