From: Tomi Ollila Date: Tue, 9 Feb 2016 11:37:20 +0000 (+0200) Subject: use $HOME where ~ (usually) does not expand X-Git-Url: https://git.cworth.org/git?p=notmuch-wiki;a=commitdiff_plain;h=10d30ea8b2ccdfa129c8a5d3adcacf72fda279b8 use $HOME where ~ (usually) does not expand --- diff --git a/howto.mdwn b/howto.mdwn index f741408..d39dab3 100644 --- a/howto.mdwn +++ b/howto.mdwn @@ -92,15 +92,15 @@ However, for users running with databases created in older versions of notmuch, these tags are missing in pre-existing messages and need to be added. One way to do this is as follows: - $ notmuch dump --output=~/out.nm + $ notmuch dump --output=$HOME/out.nm $ mv ~/Mail/.notmuch ~/.notmuch.bak $ notmuch new $ notmuch tag -inbox -unread '*' - $ notmuch restore --accumulate --input=~/out.nm + $ notmuch restore --accumulate --input=$HOME/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 -~/out.nm. +$HOME/out.nm. ## **Dealing with mbox and other formats**