local/bin/homesync: Restore notmuch tags before dumping

master
Pierre Neidhardt 2019-03-19 13:57:18 +01:00
parent 93d4e33315
commit 236ba9bcf7
1 changed files with 1 additions and 0 deletions

View File

@ -106,6 +106,7 @@ fi
if [ -e ~/.cache/mail/.notmuch ]; then
section "Notmuch tags"
notmuch restore --accumulate --input=$HOME/personal/mail/notmuch.dump
emacs --quick --batch --load=$HOME/.emacs.d/lisp/init-notmuch-sync.el \
-f notmuch-dump-important-tags
fi