2013-12-03 22:16:51 +00:00
|
|
|
#!/bin/sh
|
|
|
|
# Nico Schottelius, Tue Dec 3 23:16:30 CET 2013
|
|
|
|
# Show mailstats
|
|
|
|
|
2017-03-08 06:37:05 +00:00
|
|
|
#notmuch count tag:inbox or tag:unread
|
2013-12-03 22:16:51 +00:00
|
|
|
(
|
|
|
|
for dir in ~/Maildir ~/Maildir/firmen/ungleich \
|
2017-03-08 06:37:05 +00:00
|
|
|
~/Maildir/firmen/ungleich/technik/INBOX/panter \
|
|
|
|
~/Maildir/firmen/ungleich/technik/INBOX/teralytics \
|
|
|
|
~/Maildir/bildung/zhaw \
|
|
|
|
~/Maildir/firmen/ungleich/technik/INBOX/entwine; do
|
2013-12-03 22:16:51 +00:00
|
|
|
|
2017-03-08 06:37:05 +00:00
|
|
|
#find $dir/cur $dir/new -type f
|
|
|
|
find $dir/new -type f
|
2013-12-03 22:16:51 +00:00
|
|
|
done
|
|
|
|
) | wc -l
|
2017-03-08 06:37:05 +00:00
|
|
|
|
|
|
|
echo --
|
|
|
|
notmuch count tag:inbox
|
|
|
|
notmuch count tag:inbox and NOT tag:archive
|
|
|
|
echo --
|
|
|
|
notmuch count tag:inbox and tag:unread
|
|
|
|
notmuch count tag:inbox and tag:new
|
|
|
|
|
|
|
|
|