.TH "NOTMUCH-NEW" "1" "September 14, 2014" "0.18.1" "notmuch" .SH NAME notmuch-new \- incorporate new mail into the notmuch database . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .\" Man page generated from reStructeredText. . .SH SYNOPSIS .sp \fBnotmuch\fP \fBnew\fP [options] .SH DESCRIPTION .sp Find and import any new messages to the database. .sp The \fBnew\fP command scans all sub\-directories of the database, performing full\-text indexing on new messages that are found. Each new message will automatically be tagged with both the \fBinbox\fP and \fBunread\fP tags. .sp You should run \fBnotmuch new\fP once after first running \fBnotmuch setup\fP to create the initial database. The first run may take a long time if you have a significant amount of mail (several hundred thousand messages or more). Subsequently, you should run \fBnotmuch new\fP whenever new mail is delivered and you wish to incorporate it into the database. These subsequent runs will be much quicker than the initial run. .sp Invoking \fBnotmuch\fP with no command argument will run \fBnew\fP if \fBnotmuch setup\fP has previously been completed, but \fBnotmuch new\fP has not previously been run. .sp \fBnotmuch new\fP updates tags according to maildir flag changes if the \fBmaildir.synchronize_flags\fP configuration option is enabled. See \fBnotmuch\-config(1)\fP for details. .sp The \fBnew\fP command supports hooks. See \fBnotmuch\-hooks(5)\fP for more details on hooks. .sp Supported options for \fBnew\fP include .INDENT 0.0 .INDENT 3.5 .INDENT 0.0 .TP .B \fB\-\-no\-hooks\fP Prevents hooks from being run. .TP .B \fB\-\-quiet\fP Do not print progress or results. .UNINDENT .UNINDENT .UNINDENT .SH SEE ALSO .sp \fBnotmuch(1)\fP, \fBnotmuch\-config(1)\fP, \fBnotmuch\-count(1)\fP, \fBnotmuch\-dump(1)\fP, \fBnotmuch\-hooks(5)\fP, \fBnotmuch\-insert(1)\fP, \fBnotmuch\-reply(1)\fP, \fBnotmuch\-restore(1)\fP, \fBnotmuch\-search(1)\fP, \fBnotmuch\-search\-terms(7)\fP, \fBnotmuch\-show(1)\fP, \fBnotmuch\-tag(1)\fP .SH AUTHOR Carl Worth and many others .SH COPYRIGHT 2014, Carl Worth and many others .\" Generated by docutils manpage writer. .\" .