RE: [notmuch] Bulk message tagging
authorCarl Worth <cworth@cworth.org>
Wed, 21 Apr 2010 23:02:59 +0000 (16:02 +1700)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:36:45 +0000 (09:36 -0800)
db/dc33300272036d6498a2a03dd961b19e978ebf [new file with mode: 0644]

diff --git a/db/dc33300272036d6498a2a03dd961b19e978ebf b/db/dc33300272036d6498a2a03dd961b19e978ebf
new file mode 100644 (file)
index 0000000..fe8846b
--- /dev/null
@@ -0,0 +1,79 @@
+Return-Path: <cworth@cworth.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 5F9A34196F2\r
+       for <notmuch@notmuchmail.org>; Wed, 21 Apr 2010 16:03:00 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.89\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.89 tagged_above=-999 required=5\r
+       tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, T_MIME_NO_TEXT=0.01]\r
+       autolearn=ham\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id hEJ49FAXXorG; Wed, 21 Apr 2010 16:02:59 -0700 (PDT)\r
+Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id B4941431FC1;\r
+       Wed, 21 Apr 2010 16:02:59 -0700 (PDT)\r
+Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
+       id 69C84568DE4; Wed, 21 Apr 2010 16:02:59 -0700 (PDT)\r
+From: Carl Worth <cworth@cworth.org>\r
+To: Arian Kuschki <arian.kuschki@googlemail.com>, notmuch@notmuchmail.org\r
+Subject: RE: [notmuch] Bulk message tagging\r
+In-Reply-To: <4bc9fee0.15135e0a.2c83.ffffff35@mx.google.com>\r
+References: <4bc9fee0.15135e0a.2c83.ffffff35@mx.google.com>\r
+Date: Wed, 21 Apr 2010 16:02:59 -0700\r
+Message-ID: <87eii8jtng.fsf@yoom.home.cworth.org>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha1; protocol="application/pgp-signature"\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 21 Apr 2010 23:03:00 -0000\r
+\r
+--=-=-=\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Sat, 17 Apr 2010 20:32:27 +0200, Arian Kuschki <arian.kuschki@googlemail=\r
+.com> wrote:\r
+> So one could query with sysconf and break things up into multiple\r
+> commands as needed.\r
+>=20\r
+> Doesn't xargs do exactly this?\r
+\r
+Almost.\r
+\r
+The arguments being passed to the "notmuch tag" command in this case\r
+look like:\r
+\r
+       notmuch tag -inbox thread:foo or thread:bar or ...\r
+\r
+To break that up, we'd have to be careful to neither leave a trailing\r
+'or' at the end of a command line nor to have an 'or' at the beginning\r
+of a command line.\r
+\r
+=2DCarl\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.10 (GNU/Linux)\r
+\r
+iD8DBQFLz4Qj6JDdNq8qSWgRAstfAJ99AGKXcmIbLyHWxiDnO12qhDhssgCfY5us\r
+OzRTwS7qPOWjUGue/835Uo8=\r
+=LreJ\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r