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