]> git.cworth.org Git - notmuch-wiki/commitdiff
use $HOME where ~ (usually) does not expand
authorTomi Ollila <tomi.ollila@iki.fi>
Tue, 9 Feb 2016 11:37:20 +0000 (13:37 +0200)
committerTomi Ollila <tomi.ollila@iki.fi>
Tue, 9 Feb 2016 11:37:20 +0000 (13:37 +0200)
howto.mdwn

index f741408f5bee7a9b22e8e3c9d9497877c30fcd59..d39dab30ea98a3218bc574957dd4492395daed47 100644 (file)
@@ -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.
 
 ## <span id="mbox">**Dealing with mbox and other formats**</span>