diff options
Diffstat (limited to 'scripts/mail.sh')
-rwxr-xr-x | scripts/mail.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/mail.sh b/scripts/mail.sh new file mode 100755 index 0000000..c8f6522 --- /dev/null +++ b/scripts/mail.sh @@ -0,0 +1,5 @@ +if [ "$1" = "-s" ]; then + mbsync -a &>> /tmp/mbsync.log && notmuch new &>> /tmp/notmuch.log +else + mbsync -aV && notmuch new +fi |