nsbin/maildirnotmuchdump

10 lines
127 B
Text
Raw Normal View History

#!/bin/sh
set -e
file=.notmuch/dump.xz
cd ~/Maildir
notmuch dump | xz > "$file"
git commit -m "Update notmuch dump" "$file"