On 2025-08-05 09:44, Alan Schmitt <alan.schm...@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

Attachment: signature.asc
Description: PGP signature

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

Reply via email to