2013-01-17 04:02:32 +01:00
|
|
|
.TH NOTMUCH-COUNT 1 2013-01-16 "Notmuch 0.15~rc1"
|
2011-12-19 03:38:24 +01:00
|
|
|
.SH NAME
|
2012-06-24 23:53:27 +02:00
|
|
|
notmuch-count \- count messages matching the given search terms
|
2011-12-19 03:38:24 +01:00
|
|
|
.SH SYNOPSIS
|
|
|
|
|
|
|
|
.B notmuch count
|
|
|
|
.RI [ options "... ] <" search-term ">..."
|
|
|
|
|
|
|
|
.SH DESCRIPTION
|
|
|
|
|
|
|
|
Count messages matching the search terms.
|
|
|
|
|
|
|
|
The number of matching messages (or threads) is output to stdout.
|
|
|
|
|
|
|
|
With no search terms, a count of all messages (or threads) in the database will
|
|
|
|
be displayed.
|
|
|
|
|
2011-12-20 02:41:48 +01:00
|
|
|
See \fBnotmuch-search-terms\fR(7)
|
|
|
|
for details of the supported syntax for <search-terms>.
|
|
|
|
|
2011-12-19 03:38:24 +01:00
|
|
|
Supported options for
|
|
|
|
.B count
|
|
|
|
include
|
|
|
|
.RS 4
|
|
|
|
.TP 4
|
|
|
|
.B \-\-output=(messages|threads)
|
|
|
|
|
|
|
|
.RS 4
|
|
|
|
.TP 4
|
|
|
|
.B messages
|
|
|
|
|
|
|
|
Output the number of matching messages. This is the default.
|
|
|
|
.RE
|
|
|
|
.RS 4
|
|
|
|
.TP 4
|
|
|
|
.B threads
|
|
|
|
|
|
|
|
Output the number of matching threads.
|
|
|
|
.RE
|
|
|
|
.RE
|
2012-03-01 23:30:34 +01:00
|
|
|
|
|
|
|
.RS 4
|
|
|
|
.TP 4
|
2012-04-07 18:10:04 +02:00
|
|
|
.BR \-\-exclude=(true|false)
|
2012-03-01 23:30:34 +01:00
|
|
|
|
2012-04-07 18:10:04 +02:00
|
|
|
Specify whether to omit messages matching search.tag_exclude from the
|
|
|
|
count (the default) or not.
|
2012-03-01 23:30:34 +01:00
|
|
|
.RE
|
2011-12-19 03:38:24 +01:00
|
|
|
.RE
|
|
|
|
.RE
|
2011-12-20 02:41:48 +01:00
|
|
|
|
|
|
|
.SH SEE ALSO
|
|
|
|
|
|
|
|
\fBnotmuch\fR(1), \fBnotmuch-config\fR(1), \fBnotmuch-dump\fR(1),
|
2012-03-11 22:36:16 +01:00
|
|
|
\fBnotmuch-hooks\fR(5), \fBnotmuch-new\fR(1), \fBnotmuch-reply\fR(1),
|
|
|
|
\fBnotmuch-restore\fR(1), \fBnotmuch-search\fR(1),
|
|
|
|
\fBnotmuch-search-terms\fR(7), \fBnotmuch-show\fR(1),
|
|
|
|
\fBnotmuch-tag\fR(1)
|