Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

notmuch-count(1) [debian man page]

NOTMUCH-COUNT(1)					      General Commands Manual						  NOTMUCH-COUNT(1)

NAME
notmuch-count - Count messages matching the given search terms. SYNOPSIS
notmuch count [options... ] <search-term>... 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 notmuch-search-terms(7) for details of the supported syntax for <search-terms>. Supported options for count include --output=(messages|threads) messages Output the number of matching messages. This is the default. threads Output the number of matching threads. --exclude=(true|false) Specify whether to omit messages matching search.tag_exclude from the count (the default) or not. SEE ALSO
notmuch(1), notmuch-config(1), notmuch-dump(1), notmuch-hooks(5), notmuch-new(1), notmuch-reply(1), notmuch-restore(1), notmuch-search(1), notmuch-search-terms(7), notmuch-show(1), notmuch-tag(1) Notmuch 0.13.2 2012-06-01 NOTMUCH-COUNT(1)

Check Out this Related Man Page

NOTMUCH-RESTORE(1)					      General Commands Manual						NOTMUCH-RESTORE(1)

NAME
notmuch-restore - Restores the tags from the given file (see notmuch dump). SYNOPSIS
notmuch restore [--accumulate] [ <filename> ] DESCRIPTION
Restores the tags from the given file (see notmuch dump). The input is read from the given filename, if any, or from stdin. Note: The dump file format is specifically chosen to be compatible with the format of files produced by sup-dump. So if you've previously been using sup for mail, then the notmuch restore command provides you a way to import all of your tags (or labels as sup calls them). The --accumulate switch causes the union of the existing and new tags to be applied, instead of replacing each message's tags as they are read in from the dump file. See notmuch-search-terms(7) for details of the supported syntax for <search-terms>. notmuch restore updates the maildir flags according to tag changes if the maildir.synchronize_flags configuration option is enabled. See notmuch-config(1) for details. SEE ALSO
notmuch(1), notmuch-config(1), notmuch-count(1), notmuch-dump(1), notmuch-hooks(5), notmuch-new(1), notmuch-reply(1), notmuch-search(1), notmuch-search-terms(7), notmuch-show(1), notmuch-tag(1) Notmuch 0.13.2 2012-06-01 NOTMUCH-RESTORE(1)
Man Page

14 More Discussions You Might Find Interesting

1. Programming

Count Number Of Threads in a Process

I am trying to find out that how many number of threads are currently running or in any other state which is created by POSIX standard in a process. First I have defined a variable called proc_var of type proc defined in sys/proc.h.Next I open up the dir /proc and per directory wise I do an ioctl... (7 Replies)
Discussion started by: S.P.Prasad
7 Replies

2. Shell Programming and Scripting

Need help

I have a problem. I have a direcotry where i have files named as below -rwxr-x--- 1 sadalbid dwro 953 Jan 4 17:03 tables.telg.subs.txt -rwxr-x--- 1 sadalbid dwro 79 Jan 4 17:03 tables.telg.sub2.txt -rw-r--r-- 1 sadalbid dwro 268 Jan 4 17:03 tables.telg.prty.txt... (16 Replies)
Discussion started by: dsravan
16 Replies

3. Shell Programming and Scripting

Count if numbers are not repetitive

Hi All, I have an input below and i would want to do a count on all the term "aaa" and count only once if the number in first column is the same. For eg, if i use a "grep -c aaa input" command, the count will be "8". However, i would want the count to be "6" instead since 2 numbers in the 1st... (7 Replies)
Discussion started by: Raynon
7 Replies

4. Shell Programming and Scripting

pattern search and count

i want to search a word in a file and find the count of occurences even if pattern occures twice in a same line. for example file has the following content. yes no no nooo yees no yes if I search for "no" it should give count as 4 Pls help. Thanks (9 Replies)
Discussion started by: RahulJoshi
9 Replies

5. Shell Programming and Scripting

complicated search within file

Hi, I have following problem. I have a file with time stamps and some data describing what happened between time stamps. Something like this: 10:00 meeting with K meeting with L 11:00 lunch 12:00 work with K 13:00 From this file I have to get a file with... (7 Replies)
Discussion started by: mmike
7 Replies

6. Shell Programming and Scripting

Perl - Count occurences

I have enclosed the script. I am able to find the files that contain my search string but when I try to count the occurences within the file I get zero always. Any help on this. #!/usr/bin/perl my $find = $ARGV; my $replace = $ARGV; my $glob = $ARGV; @filelist = <*$glob>; # process each... (22 Replies)
Discussion started by: TimHortons
22 Replies

7. Shell Programming and Scripting

Find files of specific size excluding search in a subdirectory

Hi All, I was exploring find command and came across -prune option which would exclude search in a mention subdirectory. My quesry is to search all files more that 100 MB size but exclude search in a subdirectory. I am using below command,but somehow it is not working. Can anybody help me... (6 Replies)
Discussion started by: usha rao
6 Replies

8. Shell Programming and Scripting

Pattern search and count

Hi all, I need to search the database log find out the most frequently used tables for a certain period of time. The search pattern is : the database.table so, i need to look for ABCD.* in the entire log and then need the top ten tables. I thought of using awk, search for the pattern ... (7 Replies)
Discussion started by: ysvsr1
7 Replies

9. Shell Programming and Scripting

Percentage of occurence

Dear all, I have data like below and i need to add coloumn before the COUNT field to see the Percentage out of all COUNT field value for respective raw. ============================================= COUNT CODE sConnType tConnType... (6 Replies)
Discussion started by: Iroshan
6 Replies

10. Shell Programming and Scripting

Output counts of all matching strings lessthan a number using awk

The awk below is supposed to count all the matching $5 strings and count how many $7 values is less than 20. I don't think I need the portion in bold as I do not need any decimal point or format, but can not seem to get the correct counts. Thank you :). file chr5 77316500 77316628 ... (6 Replies)
Discussion started by: cmccabe
6 Replies

11. What is on Your Mind?

Proposal to Eliminate Thread Icons Column

Without objection, open to comments, I would like to eliminate this column in various views that show topics and threads (forum view, search results, etc). https://www.unix.com/members/1-albums220-picture887.png https://www.unix.com/members/1-albums220-picture888.png Comments? (10 Replies)
Discussion started by: Neo
10 Replies

12. What is on Your Mind?

Search for REALLY old threads / posts

Dear friends and colleagues, for nostalgic reasons I was trying to find an old post. But, unfortunstely, the search for "A Year and older" stopped at 500 entries, somewhere early in 2017. Do you have any idea on how to get to 2012 / 2013 threads / posts without knowing title nor... (21 Replies)
Discussion started by: RudiC
21 Replies

13. UNIX for Beginners Questions & Answers

Count occurences of the word without it repeating

Hi, I would like to count the number of ALA occurences without having them to be repeated. In the script I have written now it has 40 repetitions of ALA but it has to be 8. ALA is chosen as one of the 20 values it can have when the script asks for the input of AAA, which for this example is chosen... (7 Replies)
Discussion started by: Aurimas
7 Replies

14. Solaris

Large number of ulcm_sctp messages

Hi, I am running Solaris-10 sparc and I am seeing large number of messages related to ulcm_sctp. I tried to google, what these messages are and how it should be fixed, but I am not getting much information about it. Can somebody please some pointer or suggestion ? Sep 24 07:04:23... (7 Replies)
Discussion started by: ron323232
7 Replies