Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 5F9A34196F2 for ; Wed, 21 Apr 2010 16:03:00 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.89 X-Spam-Level: X-Spam-Status: No, score=-2.89 tagged_above=-999 required=5 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, T_MIME_NO_TEXT=0.01] autolearn=ham Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hEJ49FAXXorG; Wed, 21 Apr 2010 16:02:59 -0700 (PDT) Received: from yoom.home.cworth.org (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id B4941431FC1; Wed, 21 Apr 2010 16:02:59 -0700 (PDT) Received: by yoom.home.cworth.org (Postfix, from userid 1000) id 69C84568DE4; Wed, 21 Apr 2010 16:02:59 -0700 (PDT) From: Carl Worth To: Arian Kuschki , notmuch@notmuchmail.org Subject: RE: [notmuch] Bulk message tagging In-Reply-To: <4bc9fee0.15135e0a.2c83.ffffff35@mx.google.com> References: <4bc9fee0.15135e0a.2c83.ffffff35@mx.google.com> Date: Wed, 21 Apr 2010 16:02:59 -0700 Message-ID: <87eii8jtng.fsf@yoom.home.cworth.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Apr 2010 23:03:00 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable On Sat, 17 Apr 2010 20:32:27 +0200, Arian Kuschki wrote: > So one could query with sysconf and break things up into multiple > commands as needed. >=20 > 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. =2DCarl --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQFLz4Qj6JDdNq8qSWgRAstfAJ99AGKXcmIbLyHWxiDnO12qhDhssgCfY5us OzRTwS7qPOWjUGue/835Uo8= =LreJ -----END PGP SIGNATURE----- --=-=-=--