Node:messages, Next:, Previous:mail.local, Up:Programs



messages -- Count the number of messages in a mailbox.

Messages prints on standard output the number of messages contained in each folder specified in command line. If no folders are specified, it operates upon user's system mailbox. For each folder, the following output line is produced:

     Number of messages in folder: number

where folder represents the folder name, number represents the number of messages.

The program uses following option groups: See mailbox.

The program accepts following command line options:

-q
--quite
-s
--silent
Be quiet. Display only number of messages per mailbox, without leading text.
-?
--help
Output help message and exit.
--usage
Output short usage summary and exit.
-V
--version
Output program version and exit.