]> git.cworth.org Git - notmuch-wiki/blob - manpages/notmuch-restore-1.mdwn
<h1> changed <h2> in last line (notmuch 0.13.2)
[notmuch-wiki] / manpages / notmuch-restore-1.mdwn
1 <h1>NOTMUCH-RESTORE(1)</h1>
2
3 <h2>NAME</h2>
4
5 <pre>
6        notmuch-restore  -  Restores  the tags from the given file (see notmuch
7        dump).
8 </pre>
9
10 <h2>SYNOPSIS</h2>
11
12 <pre>
13        <b>notmuch</b> <b>restore</b> [<b>--accumulate</b>] [ <<u>filename</u>> ]
14 </pre>
15
16 <h2>DESCRIPTION</h2>
17
18 <pre>
19        Restores the tags from the given file (see <b>notmuch</b> <b>dump</b>).
20 </pre>
21
22 <pre>
23        The input is read from the given filename, if any, or from stdin.
24 </pre>
25
26 <pre>
27        Note: The dump file format is specifically chosen to be compatible with
28        the format of files produced by sup-dump.  So if you've previously been
29        using sup for mail, then the <b>notmuch</b> <b>restore</b> command provides you a way
30        to import all of your tags (or labels as sup calls them).
31 </pre>
32
33 <pre>
34        The  --accumulate  switch causes the union of the existing and new tags
35        to be applied, instead of replacing each message's  tags  as  they  are
36        read in from the dump file.
37 </pre>
38
39 <pre>
40        See  <b>notmuch-search-terms</b>(7)  for  details  of the supported syntax for
41        <search-terms>.
42 </pre>
43
44 <pre>
45        <b>notmuch</b> <b>restore</b> updates the maildir flags according to tag  changes  if
46        the <b>maildir.synchronize</b>_<b>flags</b> configuration option is enabled. See <b>not-</b>
47        <b>much-config</b>(1) for details.
48 </pre>
49
50 <h2>SEE ALSO</h2>
51
52 <pre>
53        <b>notmuch</b>(1), <b>notmuch-config</b>(1), <b>notmuch-count</b>(1), <b>notmuch-dump</b>(1),  <b>not-</b>
54        <b>much-hooks</b>(5),   <b>notmuch-new</b>(1),  <b>notmuch-reply</b>(1),  <b>notmuch-search</b>(1),
55        <b>notmuch-search-terms</b>(7), <b>notmuch-show</b>(1), <b>notmuch-tag</b>(1)
56 </pre>
57
58 <h2>Notmuch 0.13.2</h2>