]> git.cworth.org Git - obsolete/notmuch-wiki/blob - manpages/notmuch-restore-1.mdwn
555ae6ac0393846f5430f40c20252dd4447222f8
[obsolete/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>] [ --input=&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) for details.
35 </pre>
36
37 <h2>SEE ALSO</h2>
38 <pre>
39        <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>
40        <a href='../notmuch-hooks-5/'>much-hooks</a>(5),   <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),
41        <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)
42 </pre>
43
44 <h2>Notmuch 0.14</h2>