NAME¶
notmuch-restore - Restores the tags from the given file (see notmuch dump).
SYNOPSIS¶
notmuch restore [
--accumulate] [ <
filename> ]
DESCRIPTION¶
Restores the tags from the given file (see
notmuch dump).
The input is read from the given filename, if any, or from stdin.
Note: The dump file format is specifically chosen to be compatible with the
format of files produced by sup-dump. So if you've previously been using sup
for mail, then the
notmuch restore command provides you a way to import
all of your tags (or labels as sup calls them).
The --accumulate switch causes the union of the existing and new tags to be
applied, instead of replacing each message's tags as they are read in from the
dump file.
See
notmuch-search-terms(7) for details of the supported syntax for
<search-terms>.
notmuch restore updates the maildir flags according to tag changes if the
maildir.synchronize_flags configuration option is enabled. See
notmuch-config(1) for details.
SEE ALSO¶
notmuch(1),
notmuch-config(1),
notmuch-count(1),
notmuch-dump(1),
notmuch-hooks(5),
notmuch-new(1),
notmuch-reply(1),
notmuch-search(1),
notmuch-search-terms(7),
notmuch-show(1),
notmuch-tag(1)