From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id sNyDK3Dot19tOwAA0tVLHw (envelope-from ) for ; Fri, 20 Nov 2020 16:01:52 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id OJ9qJ3Dot18JRgAAB5/wlQ (envelope-from ) for ; Fri, 20 Nov 2020 16:01:52 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [IPv6:2607:5300:201:3100::1657]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (2048 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 024F9940667 for ; Fri, 20 Nov 2020 16:01:51 +0000 (UTC) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 8504828C76; Fri, 20 Nov 2020 11:01:45 -0500 (EST) Received: from mx1.polytechnique.org (mx1.polytechnique.org [129.104.30.34]) by mail.notmuchmail.org (Postfix) with ESMTPS id BC64A270CC for ; Fri, 20 Nov 2020 11:01:42 -0500 (EST) Received: from set (cbg35-2-78-242-14-140.fbx.proxad.net [78.242.14.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ssl.polytechnique.org (Postfix) with ESMTPSA id 56DAD564F0A; Fri, 20 Nov 2020 17:01:41 +0100 (CET) From: Alan Schmitt To: Kim Minh Kaplan , notmuch Subject: Re: listing all the tags I've been using In-Reply-To: <874klkoxfz.fsf@kakou.tech.prive.nic.fr> References: <878sawhytd.fsf@m4x.org> <874klkoxfz.fsf@kakou.tech.prive.nic.fr> Date: Fri, 20 Nov 2020 17:01:40 +0100 Message-ID: <87v9e0ggpn.fsf@m4x.org> MIME-Version: 1.0 X-AV-Checked: ClamAV using ClamSMTP at svoboda.polytechnique.org (Fri Nov 20 17:01:41 2020 +0100 (CET)) X-Spam-Flag: No, tests=bogofilter, spamicity=0.000439, queueID=8AF91564F0C X-Org-Mail: alan.schmitt.1995@polytechnique.org Message-ID-Hash: I76FH2UQAVXGLM7LPEZLABPKXJQ725HD X-Message-ID-Hash: I76FH2UQAVXGLM7LPEZLABPKXJQ725HD X-MailFrom: SRS0=/7NX=E2=polytechnique.org=alan.schmitt@bounces.m4x.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: multipart/mixed; boundary="===============6486020065644845949==" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Spam-Score: -3.11 X-TUID: sTRiA4X40Xps --===============6486020065644845949== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2020-11-20 15:33, Kim Minh Kaplan write= s: > Alan Schmitt writes: > >> I=C2=A0would like to list all >> the tags I've used. Is there a way to do it? > > notmuch search --output=3Dtags '*' Thanks a lot Ralph and Kim. For the record, I refined Ralph's solution to: notmuch dump | tail -n +2 | gawk -F '--' '{print $1}' | gawk -F ' ' '{ for(= i=3D1; i<=3DNF; i+=3D1) {printf "%s\n", $i;}}' | sort -u which I can now happily throw away ;) Best, Alan --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFTBAEBCAA9FiEE6lXof/BsSVW56ZmGBA0KO07S5ccFAl+36GQfHGFsYW4uc2No bWl0dEBwb2x5dGVjaG5pcXVlLm9yZwAKCRAEDQo7TtLlx3ZbB/9E6Esp54QbMrJT vE0D1HeUiEdEMHi3OXO+5n1sWFAU+hI3bemjU1GIfSrjumMqicjKF+RDoF8OdHs7 hBJcNkXBfy6Y9LgyAykwSKD6XXprRJqLOzUpg1CfG9LTRaoCVmVk6d8l1bJvJiG9 tyv5kHusw2/q3XJzR0YwtTuDH1zF7WZc1Ab8s8bIcFANIX4NK5WvSWckfbRPyXLI l2v62UJvwxQBfzlUTC2kXlo31CdEhC8zYYRmciBy0kTwA8kK/eMVZ890+vWzTyUZ A1e5OK6h4/gq7v4kfGKBs/Sizh/MvwvcCTBKk4gOcJV++SS6f39wZpJ/kWI0QE9R 1z32Zb+7 =lZVw -----END PGP SIGNATURE----- --=-=-=-- --===============6486020065644845949== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============6486020065644845949==--