Re: Notmuch scripters rejoice! New "notmuch search --output=(...)"
authorSebastian Spaeth <Sebastian@SSpaeth.de>
Fri, 29 Oct 2010 07:13:03 +0000 (09:13 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:37:19 +0000 (09:37 -0800)
bf/c50589cb0b41d516502bfb446383bbb552722f [new file with mode: 0644]

diff --git a/bf/c50589cb0b41d516502bfb446383bbb552722f b/bf/c50589cb0b41d516502bfb446383bbb552722f
new file mode 100644 (file)
index 0000000..1548862
--- /dev/null
@@ -0,0 +1,97 @@
+Return-Path: <Sebastian@SSpaeth.de>\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 21B7540D152\r
+       for <notmuch@notmuchmail.org>; Fri, 29 Oct 2010 00:13:19 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -1.99\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-1.99 tagged_above=-999 required=5\r
+       tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,\r
+       DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, 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 8nyPG91ADwlh for <notmuch@notmuchmail.org>;\r
+       Fri, 29 Oct 2010 00:13:08 -0700 (PDT)\r
+Received: from homiemail-a23.g.dreamhost.com (caiajhbdcbef.dreamhost.com\r
+       [208.97.132.145])\r
+       by olra.theworths.org (Postfix) with ESMTP id A08A540D149\r
+       for <notmuch@notmuchmail.org>; Fri, 29 Oct 2010 00:13:08 -0700 (PDT)\r
+Received: from homiemail-a23.g.dreamhost.com (localhost [127.0.0.1])\r
+       by homiemail-a23.g.dreamhost.com (Postfix) with ESMTP id D63C74B0060\r
+       for <notmuch@notmuchmail.org>; Fri, 29 Oct 2010 00:13:07 -0700 (PDT)\r
+DomainKey-Signature: a=rsa-sha1; c=nofws; d=SSpaeth.de; h=from:to:subject\r
+       :in-reply-to:references:date:message-id:mime-version:\r
+       content-type; q=dns; s=sspaeth.de; b=Og1exyQwQ7dEaaMJWC2bS/kmp9C\r
+       p/YwHngEocNwEs9pn72e3bQOVlAuSOCPJSDHgPP/FPCotHgzQcfmIIc9L82fezxp\r
+       10V0/Cv5kOZd94rx7gzEyIDJQgXXos7eKdirG/m9lIpQtYZzHBm73ALh62oDJ2G5\r
+       t3XAPTuKaRLLsp0Q=\r
+DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=SSpaeth.de; h=from:to\r
+       :subject:in-reply-to:references:date:message-id:mime-version:\r
+       content-type; s=sspaeth.de; bh=YB+N0s0HHLBTRv+QdDPSYzhVAs8=; b=E\r
+       njszdG1OuWrfJ3e03+qPVkdI/ziubIDN9ODflQ44Xl9H0GS5wcYyeuEnytHY57Ru\r
+       V5TkNwljWLn7HzrHZwMBHrLkqRBcTF/Q1YAfjehuS4S/INfkNI7/DP7gGgkUg58R\r
+       Yvh7IHpGTVjhnMOUsfB3ItL6IcsgjxvGafunObHqGU=\r
+Received: from spaetzbook.sspaeth.de (unknown [84.55.209.24])\r
+       (Authenticated sender: fax@sspaeth.de)\r
+       by homiemail-a23.g.dreamhost.com (Postfix) with ESMTPA id 7AD814B0058\r
+       for <notmuch@notmuchmail.org>; Fri, 29 Oct 2010 00:13:06 -0700 (PDT)\r
+Received: by spaetzbook.sspaeth.de (sSMTP sendmail emulation);\r
+       Fri, 29 Oct 2010 09:13:04 +0200\r
+From: Sebastian Spaeth <Sebastian@SSpaeth.de>\r
+To: notmuch@notmuchmail.org\r
+Subject: Re: Notmuch scripters rejoice! New "notmuch search --output=(...)"\r
+In-Reply-To: <8762wmglxe.fsf@yoom.home.cworth.org>\r
+References: <8762wmglxe.fsf@yoom.home.cworth.org>\r
+User-Agent: Notmuch/0.3.1-127-g6d93d20 (http://notmuchmail.org) Emacs/23.1.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Fri, 29 Oct 2010 09:13:03 +0200\r
+Message-ID: <878w1h5v5s.fsf@SSpaeth.de>\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: Fri, 29 Oct 2010 07:13:19 -0000\r
+\r
+--=-=-=\r
+\r
+On Thu, 28 Oct 2010 12:24:45 -0700, Carl Worth <cworth@cworth.org> wrote:\r
+>      --output=(summary|threads|messages|files|tags)\r
+\r
+>      for spamfile in $(notmuch search tag:spam); do\r
+>              rm $spamfile\r
+>      done\r
+\r
+Wow, that is very useful thanks. This will creating scripts much easier\r
+indeed.\r
+\r
+As for count, I would leave that in, it's seems much nicer than a |wc -l\r
+\r
+Thanks! Keep the good stuff coming.\r
+Sebastian\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.10 (GNU/Linux)\r
+\r
+iEYEARECAAYFAkzKdAAACgkQVYX1jMgnoGKNaQCcDxp6Y3A9HvnCDC3vTyr31/31\r
+YEcAnRrb4aJ9Ms3KyLczJh1hP+yk8EcZ\r
+=nq6y\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r