]> gitweb.fluxo.info Git - utils-mail.git/commitdiff
Adds postponed
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 15 Nov 2016 21:06:40 +0000 (19:06 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 15 Nov 2016 21:06:40 +0000 (19:06 -0200)
postponed [new file with mode: 0755]

diff --git a/postponed b/postponed
new file mode 100755 (executable)
index 0000000..d08d281
--- /dev/null
+++ b/postponed
@@ -0,0 +1,13 @@
+#!/bin/bash
+#
+# Count number of postponed messages.
+#
+
+# Setup
+POSTPONED="$HOME/temp/mutt/postponed"
+TOTAL="`grep "^From: " $POSTPONED | wc -l`"
+
+# Print
+if [ "$TOTAL" != "0" ]; then
+  echo $TOTAL postponed emails.
+fi