Add notmuch_unread_tags script

This commit is contained in:
Arti Zirk 2019-03-28 18:15:35 +02:00
parent 138ff6d8e2
commit 82a3b47ca4
1 changed files with 6 additions and 0 deletions

6
.bin/notmuch_tag_status Executable file
View File

@ -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