From 1b109de1f4b2e7fc113108f576816181d8251152 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Mon, 24 Nov 2014 10:20:31 +0100 Subject: [PATCH] quiet maildir commits Signed-off-by: Nico Schottelius --- delete-mails | 3 +++ maildircommit | 6 ++++++ suspend => ns-suspend | 0 3 files changed, 9 insertions(+) create mode 100755 delete-mails create mode 100755 maildircommit rename suspend => ns-suspend (100%) diff --git a/delete-mails b/delete-mails new file mode 100755 index 0000000..b05cb88 --- /dev/null +++ b/delete-mails @@ -0,0 +1,3 @@ +#!/bin/sh +notmuch search --output=files --format=text0 tag:spam or tag:deleted | xargs -0 --no-run-if-empty rm +notmuch new --quiet diff --git a/maildircommit b/maildircommit new file mode 100755 index 0000000..ece6b26 --- /dev/null +++ b/maildircommit @@ -0,0 +1,6 @@ +#!/bin/sh +set -e + +cd ~/Maildir +git add . +git commit -a -m "Update $(date +%F-%H:%M)" --quiet diff --git a/suspend b/ns-suspend similarity index 100% rename from suspend rename to ns-suspend