Re: mass removal of duplicates

Subject: Re: mass removal of duplicates

Date: Tue, 05 Aug 2025 10:11:07 +0200

To: David Bremner, notmuch

Cc:

From: Alan Schmitt


On 2025-08-05 09:44, Alan Schmitt <alan.schmitt@polytechnique.org> writes:

> Maybe an alternative could be to run `notmuch tag' on the output of
> `notmuch search --duplicate=2 --output=messages '*'' to first tag the
> duplicates. Something like this:
>
> notmuch search --duplicate=2 --output=messages '*' | xargs -I % notmuch tag +dup %

Unfortunately there seems to be too many messages, and after a while it
fails:

❯ notmuch search --duplicate=2 --output=messages '*' | xargs -I % notmuch tag +dup %
libc++abi: terminating due to uncaught exception of type Xapian::DatabaseModifiedError
fish: Process 22685, 'notmuch' from job 1, 'notmuch search --duplicate=2 --…' terminated by signal SIGABRT (Abort)

Some messages have been tagged, so I have something to start with.

Alan
signature.asc (application/pgp-signature)
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: