dotfiles/.bin/notmuch_tag_status

7 lines
220 B
Plaintext
Raw Normal View History

2019-03-28 18:15:35 +02:00
#!/bin/bash
# Show a table of tag and now many unread emails under that tag
for tag in $(notmuch search --output=tags '*'); do
echo -ne "${tag} | $(notmuch count tag:${tag} and tag:unread) \n";
done | column -s '|' -t