summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2012-08-11 19:56:27 -0500
committerJesse Luehrs <doy@tozt.net>2012-08-11 19:58:28 -0500
commit633aa3c9523ae17566b619ab68c1933cc811b7e5 (patch)
tree0670eb2ae8395ee153af71e448a2e8372df5349e /bin
parentf8f5c79864dc09ee938c49f7d683fc35605f8355 (diff)
downloadconf-633aa3c9523ae17566b619ab68c1933cc811b7e5.tar.gz
conf-633aa3c9523ae17566b619ab68c1933cc811b7e5.zip
script to find unsubscribed mail folders with messages
Diffstat (limited to 'bin')
-rwxr-xr-xbin/all-mail3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/all-mail b/bin/all-mail
new file mode 100755
index 0000000..5a9c1a8
--- /dev/null
+++ b/bin/all-mail
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+find $HOME/Maildir -type d -name new -not -empty | sed "s+^$HOME/Maildir/++" | sed 's+/new$++' | sort