]> git.cworth.org Git - obsolete/notmuch-wiki/blob - manpages/notmuch-count-1.mdwn
manpages/ for quality control. manpages.mdwn todo
[obsolete/notmuch-wiki] / manpages / notmuch-count-1.mdwn
1 <h1>NOTMUCH-COUNT(1)</h1>
2
3 <h2>NAME</h2>
4
5 <pre>
6        notmuch-count - Count messages matching the given search terms.
7 </pre>
8
9 <h2>SYNOPSIS</h2>
10
11 <pre>
12        <b>notmuch</b> <b>count</b> [<u>options</u>... ] <<u>search-term</u>>...
13 </pre>
14
15 <h2>DESCRIPTION</h2>
16
17 <pre>
18        Count messages matching the search terms.
19 </pre>
20
21 <pre>
22        The number of matching messages (or threads) is output to stdout.
23 </pre>
24
25 <pre>
26        With no search terms, a count of all messages (or threads) in the data-
27        base will be displayed.
28 </pre>
29
30 <pre>
31        See <b>notmuch-search-terms</b>(7) for details of  the  supported  syntax  for
32        <search-terms>.
33 </pre>
34
35 <pre>
36        Supported options for <b>count</b> include
37 </pre>
38
39 <pre>
40            <b>--output=(messages|threads)</b>
41 </pre>
42
43 <pre>
44                <b>messages</b>
45 </pre>
46
47 <pre>
48                    Output  the  number  of  matching  messages.  This  is  the
49                    default.
50 </pre>
51
52 <pre>
53                <b>threads</b>
54 </pre>
55
56 <pre>
57                    Output the number of matching threads.
58 </pre>
59
60 <pre>
61            <b>--exclude=(true|false)</b>
62 </pre>
63
64 <pre>
65                Specify whether to omit  messages  matching  search.tag_exclude
66                from the count (the default) or not.
67 </pre>
68
69 <h2>SEE ALSO</h2>
70
71 <pre>
72        <b>notmuch</b>(1),  <b>notmuch-config</b>(1), <b>notmuch-dump</b>(1), <b>notmuch-hooks</b>(5), <b>not-</b>
73        <b>much-new</b>(1), <b>notmuch-reply</b>(1),  <b>notmuch-restore</b>(1),  <b>notmuch-search</b>(1),
74        <b>notmuch-search-terms</b>(7), <b>notmuch-show</b>(1), <b>notmuch-tag</b>(1)
75 </pre>
76
77 <h1>Notmuch 0.13.2</h1>