RE: [notmuch] Bulk message tagging

Subject: RE: [notmuch] Bulk message tagging

Date: Wed, 21 Apr 2010 16:02:59 -0700

To: Arian Kuschki, notmuch@notmuchmail.org

Cc:

From: Carl Worth


On Sat, 17 Apr 2010 20:32:27 +0200, Arian Kuschki <arian.kuschki@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
part-000.sig (application/pgp-signature)

Thread: