summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Hands <phil@hands.com>2012-11-15 22:30:19 +0000
committerPhilip Hands <phil@hands.com>2012-11-15 22:30:19 +0000
commit02404d2354e769c1666cc83dae7909f9efea9e85 (patch)
tree5681bd01d9081451e2e04ad1616d112f0768d476
parentc8cf09d6ef6fb22df03c6f738fb1b744a763dcfb (diff)
update dump/restore usage to use --output/--input
-rw-r--r--howto.mdwn4
-rw-r--r--performance.mdwn6
2 files changed, 5 insertions, 5 deletions
diff --git a/howto.mdwn b/howto.mdwn
index ed36b93..416d8f1 100644
--- a/howto.mdwn
+++ b/howto.mdwn
@@ -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
diff --git a/performance.mdwn b/performance.mdwn
index 8515e6a..4adb946 100644
--- a/performance.mdwn
+++ b/performance.mdwn
@@ -27,7 +27,7 @@ XXX: add examples for different distributions
Backup your notmuch tags:
$ cd
- $ notmuch dump notmuch-dump-b4chert
+ $ notmuch dump --output=notmuch-dump-b4chert
Move away your old database:
@@ -48,7 +48,7 @@ After the initial import it is definitely not necessary to define
Restore your tags:
- $ notmuch restore notmuch-dump-b4chert
+ $ notmuch restore --input=notmuch-dump-b4chert
Check whether you are on chert now:
@@ -80,7 +80,7 @@ This needs xapian 1.2
Backup your database:
$ cd
- $ notmuch dump notmuch-dump-b4compact
+ $ notmuch dump --output=notmuch-dump-b4compact
Compact it: