nsbin/maildirnotmuchdump

10 lines
127 B
Text
Raw Permalink Normal View History

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