On 2020-11-20 15:33, Kim Minh Kaplan <[email protected]> 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

Attachment: signature.asc
Description: PGP signature

_______________________________________________
notmuch mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to