notmuch, these tags are missing in pre-existing messages and need to be
added. One way to do this is as follows:
- $ notmuch dump ~/out.nm
+ $ notmuch dump --output=~/out.nm
$ mv ~/Mail/.notmuch ~/.notmuch.bak
$ notmuch new
$ notmuch tag -inbox -unread '*'
- $ notmuch restore --accumulate ~/out.nm
+ $ notmuch restore --accumulate --input=~/out.nm
At this point, one should run a sanity check on the tags, and if everything
has merged correctly, the ~/.notmuch.bak directory is expendable, as is
Backup your notmuch tags:
$ cd
- $ notmuch dump notmuch-dump-b4chert
+ $ notmuch dump --output=notmuch-dump-b4chert
Move away your old database:
Restore your tags:
- $ notmuch restore notmuch-dump-b4chert
+ $ notmuch restore --input=notmuch-dump-b4chert
Check whether you are on chert now:
Backup your database:
$ cd
- $ notmuch dump notmuch-dump-b4compact
+ $ notmuch dump --output=notmuch-dump-b4compact
Compact it: