1 <h1>NOTMUCH-RESTORE(1)</h1>
5 notmuch-restore - restores the tags from the given file (see notmuch
11 <b>notmuch</b> <b>restore</b> [<b>--accumulate</b>] [ --input=<<u>filename</u>> ]
16 Restores the tags from the given file (see <b>notmuch</b> <b>dump</b>).
18 The input is read from the given filename, if any, or from stdin.
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'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).
25 The --accumulate switch causes the union of the existing and new tags
26 to be applied, instead of replacing each message's tags as they are
27 read in from the dump file.
29 See <a href='../notmuch-search-terms-7/'>notmuch-search-terms</a>(7) for details of the supported syntax for
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.
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)