1 .TH NOTMUCH-DUMP 1 2011-12-04 "Notmuch 0.10.2"
3 notmuch-dump \- Creates a plain-text dump of the tags of each message.
8 .RI "[ <" filename "> ] [--]"
9 .RI "[ <" search-term ">...]"
12 .RB [ "--accumulate" ]
13 .RI "[ <" filename "> ]"
19 Dump tags for messages matching the given search terms.
21 Output is to the given filename, if any, or to stdout. Note that
22 using the filename argument is deprecated.
24 These tags are the only data in the notmuch database that can't be
25 recreated from the messages themselves. The output of notmuch dump is
26 therefore the only critical thing to backup (and much more friendly to
27 incremental backup than the native database files.)
29 With no search terms, a dump of all messages in the database will be
30 generated. A "--" argument instructs notmuch that the
31 remaining arguments are search terms.
35 Restores the tags from the given file (see
36 .BR "notmuch dump" ")."
38 The input is read from the given filename, if any, or from stdin.
40 Note: The dump file format is specifically chosen to be
41 compatible with the format of files produced by sup-dump.
42 So if you've previously been using sup for mail, then the
44 command provides you a way to import all of your tags (or labels as
47 The --accumulate switch causes the union of the existing and new tags to be
48 applied, instead of replacing each message's tags as they are read in from the
52 See \fBnotmuch-search-terms\fR(7)
53 for details of the supported syntax for <search-terms>.
58 \fBnotmuch\fR(1), \fBnotmuch-config\fR(1), \fBnotmuch-count\fR(1),
59 \fBnotmuch-hooks\fR(5), \fBnotmuch-new\fR(1), \fBnotmuch-part\fR(1),
60 \fBnotmuch-reply\fR(1), \fBnotmuch-restore\fR(1),
61 \fBnotmuch-search\fR(1), \fBnotmuch-search-terms\fR(7),
62 \fBnotmuch-show\fR(1), \fBnotmuch-tag\fR(1)