diff --git a/.bin/notmuch_tag_status b/.bin/notmuch_tag_status new file mode 100755 index 0000000..4c913c9 --- /dev/null +++ b/.bin/notmuch_tag_status @@ -0,0 +1,6 @@ +#!/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