X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=manpages%2Fnotmuch-count-1.mdwn;h=ea5a5e1578e61e73cfeb162b79073e29f73c9f23;hb=85fe2a1e7df8ccbb172ebf5f10e3cf574a08944a;hp=8f7ed4640c5f86a7209c09d92d30641977d2203f;hpb=ad04c8c6b3d8c29a905d9f5f92256fc2bd64be5e;p=notmuch-wiki diff --git a/manpages/notmuch-count-1.mdwn b/manpages/notmuch-count-1.mdwn index 8f7ed46..ea5a5e1 100644 --- a/manpages/notmuch-count-1.mdwn +++ b/manpages/notmuch-count-1.mdwn @@ -7,7 +7,7 @@

SYNOPSIS

-       notmuch count [options... ] <search-term>...
+       notmuch count [option ...] <search-term> ...
 

DESCRIPTION

@@ -16,7 +16,7 @@ The number of matching messages (or threads) is output to stdout. - With no search terms, a count of all messages (or threads) in the data- + With no search terms, a count of all messages (or threads) in the data‐ base will be displayed. See notmuch-search-terms(7) for details of the supported syntax for @@ -24,42 +24,57 @@ Supported options for count include - --output=(messages|threads) + --output=(messages|threads|files) - messages + messages + Output the number of matching messages. This is the de‐ + fault. - Output the number of matching messages. This is the - default. + threads + Output the number of matching threads. - threads + files Output the number of files associated with matching mes‐ + sages. This may be bigger than the number of matching + messages due to duplicates (i.e. multiple files having + the same message-id). - Output the number of matching threads. + --exclude=(true|false) + Specify whether to omit messages matching search.exclude_tags + from the count (the default) or not. - --exclude=(true|false) + --batch + Read queries from a file (stdin by default), one per line, and + output the number of matching messages (or threads) to stdout, + one per line. On an empty input line the count of all messages + (or threads) in the database will be output. This option is not + compatible with specifying search terms on the command line. - Specify whether to omit messages matching search.tag_exclude - from the count (the default) or not. + --lastmod + Append lastmod (counter for number of database updates) and UUID + to the output. lastmod values are only comparable between data‐ + bases with the same UUID. - --batch - - Read queries from a file (stdin by default), one per line, and - output the number of matching messages (or threads) to stdout, - one per line. On an empty input line the count of all messages - (or threads) in the database will be output. This option is not - compatible with specifying search terms on the command line. + --input=<filename> + Read input from given file, instead of from stdin. Implies + --batch. + - --input=<filename> +

SEE ALSO

+
+       notmuch(1),  notmuch-config(1), notmuch-dump(1), notmuch-hooks(5), not‐
+       much-insert(1), notmuch-new(1),  notmuch-reply(1),  notmuch-restore(1),
+       notmuch-search(1),   notmuch-search-terms(7),   notmuch-show(1),   not‐
+       much-tag(1)
+
- Read input from given file, instead of from stdin. Implies - --batch. +

AUTHOR

+
+       Carl Worth and many others
 
-

SEE ALSO

+

COPYRIGHT

-       notmuch(1), notmuch-config(1), notmuch-dump(1), notmuch-hooks(5),  not-
-       much-insert(1),  notmuch-new(1),  notmuch-reply(1), notmuch-restore(1),
-       notmuch-search(1), notmuch-search-terms(7),  notmuch-show(1),  notmuch-
-       tag(1)
+       2009-2021, Carl Worth and many others
 
-

Notmuch 0.16

+

0.33