]> git.cworth.org Git - obsolete/notmuch-wiki/blobdiff - howto.mdwn
update dump/restore usage to use --output/--input
[obsolete/notmuch-wiki] / howto.mdwn
index 82cc7e2add4bc04a42e91909dfcca8aac4a988a8..416d8f1eae2ed6db12b131677277aee60e0dc073 100644 (file)
@@ -25,7 +25,7 @@ mbox mail store formats is not supported, but fortunately it is very
 easy to [[convert mbox to maildir|howto/#mbox]] .  The following
 utilities support these formats:
 
-* [offlineimap](https://github.com/nicolas33/offlineimap/) -
+* [offlineimap](http://offlineimap.org/) -
   quite useful and widely tested, it also offers a handy hook that
   will come in useful a bit later in our setup.  Also supports
   "presynchook" and "postsynchook" command that will get run
@@ -136,11 +136,11 @@ 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 ~/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