Alan Schmitt <alan.schm...@polytechnique.org> writes:
>
> 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

"notmuch tag --batch" is designed for this scenario, although you may
need to massage the input a bit using sed or awk
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-le...@notmuchmail.org

Reply via email to