quiet maildir commits

Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
This commit is contained in:
Nico Schottelius 2014-11-24 10:20:31 +01:00
parent eff86832c5
commit 1b109de1f4
3 changed files with 9 additions and 0 deletions

3
delete-mails Executable file
View file

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

6
maildircommit Executable file
View file

@ -0,0 +1,6 @@
#!/bin/sh
set -e
cd ~/Maildir
git add .
git commit -a -m "Update $(date +%F-%H:%M)" --quiet

View file