1 .TH NOTMUCH-INSERT 1 2013-xx-xx "Notmuch 0.xx"
3 notmuch-insert \- add a message to the maildir and notmuch database
8 .RI "[ +<" tag> "|\-<" tag "> ... ]"
13 reads a message from standard input
14 and delivers it into the maildir directory given by configuration option
16 then incorporates the message into the notmuch database.
17 It is an alternative to using a separate tool to deliver
18 the message then running
22 The new message will be tagged with the tags specified by the
24 configuration option, then by operations specified on the command-line:
25 tags prefixed by '+' are added while
26 those prefixed by '\-' are removed.
28 If the new message is a duplicate of an existing message in the database
29 (it has same Message-ID), it will be added to the maildir folder and
30 notmuch database, but the tags will not be changed.
32 Option arguments must appear before any tag operation arguments.
38 .BI "--folder=<" folder ">"
40 Deliver the message to the specified folder,
41 relative to the top-level directory given by the value of
43 The default is to deliver to the top-level directory.
48 This command returns exit status 0 if the message was successfully
49 added to the mail directory, even if the message could not be indexed
50 and added to the notmuch database. In the latter case, a warning will
51 be printed to standard error but the message file will be left on disk.
53 If the message could not be written to disk then a non-zero exit
59 \fBnotmuch\fR(1), \fBnotmuch-config\fR(1), \fBnotmuch-count\fR(1),
60 \fBnotmuch-dump\fR(1), \fBnotmuch-hooks\fR(5), \fBnotmuch-reply\fR(1),
61 \fBnotmuch-restore\fR(1), \fBnotmuch-search\fR(1),
62 \fBnotmuch-search-terms\fR(7), \fBnotmuch-show\fR(1),