On 2020-11-20 15:33, Kim Minh Kaplan <kimminh.kaplan+nomuch@afnic.fr> writes:
> Alan Schmitt writes:
>
>> I would like to list all
>> the tags I've used. Is there a way to do it?
>
> notmuch search --output=tags '*'
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=1; i<=NF; i+=1) {printf "%s\n", $i;}}' | sort -u
which I can now happily throw away ;)
Best,
Alan
_______________________________________________ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-leave@notmuchmail.org