1 .TH NOTMUCH-COUNT 1 2012-05-08 "Notmuch 0.13~rc1"
3 notmuch-count \- Count messages matching the given search terms.
7 .RI [ options "... ] <" search-term ">..."
11 Count messages matching the search terms.
13 The number of matching messages (or threads) is output to stdout.
15 With no search terms, a count of all messages (or threads) in the database will
18 See \fBnotmuch-search-terms\fR(7)
19 for details of the supported syntax for <search-terms>.
26 .B \-\-output=(messages|threads)
32 Output the number of matching messages. This is the default.
38 Output the number of matching threads.
44 .BR \-\-exclude=(true|false)
46 Specify whether to omit messages matching search.tag_exclude from the
47 count (the default) or not.
54 \fBnotmuch\fR(1), \fBnotmuch-config\fR(1), \fBnotmuch-dump\fR(1),
55 \fBnotmuch-hooks\fR(5), \fBnotmuch-new\fR(1), \fBnotmuch-reply\fR(1),
56 \fBnotmuch-restore\fR(1), \fBnotmuch-search\fR(1),
57 \fBnotmuch-search-terms\fR(7), \fBnotmuch-show\fR(1),