unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
blob 8551ab2c96e75a6463481bf7d6a92dd4142b0a67 1186 bytes (raw)
name: man/man1/notmuch-count.1 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
 
.TH NOTMUCH-COUNT 1 2012-06-01 "Notmuch 0.13.2"
.SH NAME
notmuch-count \- count messages matching the given search terms
.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.

See \fBnotmuch-search-terms\fR(7)
for details of the supported syntax for <search-terms>.

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

.RS 4
.TP 4
.BR \-\-exclude=(true|false)

Specify whether to omit messages matching search.tag_exclude from the
count (the default) or not.
.RE
.RE
.RE

.SH SEE ALSO

\fBnotmuch\fR(1), \fBnotmuch-config\fR(1), \fBnotmuch-dump\fR(1),
\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)

debug log:

solving 8551ab2 ...
found 8551ab2 in https://yhetil.org/notmuch.git/

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).