[notmuch] Bulk message tagging
Carl Worth
cworth at cworth.org
Wed Apr 21 16:02:59 PDT 2010
On Sat, 17 Apr 2010 20:32:27 +0200, Arian Kuschki <arian.kuschki at googlemail.com> wrote:
> So one could query with sysconf and break things up into multiple
> commands as needed.
>
> Doesn't xargs do exactly this?
Almost.
The arguments being passed to the "notmuch tag" command in this case
look like:
notmuch tag -inbox thread:foo or thread:bar or ...
To break that up, we'd have to be careful to neither leave a trailing
'or' at the end of a command line nor to have an 'or' at the beginning
of a command line.
-Carl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100421/bd481f49/attachment.pgp>
More information about the notmuch
mailing list