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