4 .TH FLIST %manext1% "%nmhdate%" MH.6.8 [%nmhversion%]
6 flist, flists \- list the number of messages in given sequence(s)
19 .RB [ \-all " | " \-noall ]
20 .RB [ \-showzero " | " \-noshowzero ]
21 .RB [ \-recurse " | " \-norecurse ]
22 .RB [ \-fast " | " \-nofast ]
23 .RB [ \-alpha " | " \-noalpha ]
35 is used to search a list of folders and display the number
36 of messages in these folders that are in a given sequence or set of
37 sequences (for example the
38 .RI \*(lq unseen \*(rq
39 sequence). This is especially
40 useful if you use some mechanism such as
44 (typically in conjunction with
46 to pre-sort your mail into different folders before you view it.
48 By default, the command
50 will search the current folder for the given sequence or sequences (usually
51 .RI \*(lq unseen \*(rq).
52 If (possibly multiple) folders are specified on the command line with
54 then all these folders are searched for the given sequence(s).
56 will display for each folder searched, the number of messages in each of the
57 specified sequences, and the total number of messages.
61 is used to specify the name of a sequence in
62 which to search for. This option may be used multiple times to specify
63 multiple sequences. If this is not given, then the default is to search
64 for all the sequences specified by the
65 .RI \*(lq Unseen-Sequence \*(rq
66 profile component. For more details about sequences, read the
72 will produce a line for each sequence, for every
73 folder that is searched, even those which do not contain any messages in
74 the given sequence. Specifying
78 to print only those folder/sequence combinations such the folder has a non-zero
79 number of messages in the given specified sequence.
83 is given, then for each folder that is search,
85 will also recursively descend into those folders to search subfolders
86 for the given sequence.
90 is given, only the names of the folders searched will be displayed, and
92 will suppress all other output. If this option is used in conjunction with
96 will only print the names of those folders searched that contain messages in
97 in at least one of the specified sequences.
99 .SS "Multiple Folders"
102 is given (and no folders are specified with
106 will search all the folders in the top
107 level of the users nmh directory. These folders are all preceded by
108 the read\-only folders, which occur as
109 .RI \*(lq atr\-cur\- \*(rq
110 entries in the user's
114 An example of the output of
121 /work/Mail has 5 in sequence unseen (private); out of 46
122 inbox+ has 10 in sequence unseen ; out of 153
123 junklist has 0 in sequence unseen ; out of 63
124 postmaster has 1 in sequence unseen ; out of 3
128 The \*(lq+\*(rq after
130 indicates that it is the current folder.
132 The \*(lqprivate\*(rq flag indicates that the given sequence for
133 that folder is private. See the
135 man page for details about private sequences.
141 are both specified, then
143 will search this folder, and all its first level subfolders for the
144 given sequence. You may specify multiple folders in this way.
148 is invoked by a name ending with \*(lqs\*(rq
153 is assumed by default.
155 The sorting order for the listing is alphabetical (with
157 or in a priority order defined by the
158 .RI \*(lq Flist-Order \*(rq
162 .RI \*(lq Flist-Order \*(rq
163 is a folder name or a
164 folder name pattern that uses * to match zero or more characters.
165 Longer matching patterns have precedence over shorter matching patterns.
170 Flist-Order: personal petproject mh* * admin *junk
174 This order puts a few interesting folders first, such as those with mail
175 addressed to you personally, those about a pet project, and those about
176 mh-related things. It places uninteresting folders at the end, and it
177 puts everything else in the middle in alphabetical order.
182 .ta \w'%etcdir%/ExtraBigFileName 'u
183 ^$HOME/\&.mh\(ruprofile~^The user profile
186 .SH "PROFILE COMPONENTS"
190 .ta \w'ExtraBigProfileName 'u
191 ^Path:~^To determine the user's nmh directory
192 ^mh-sequences:~^File that contains public sequences
193 ^Unseen-Sequence:~^The name of the unseen message sequence
194 ^Flist-Order:~^To sort folders by priority
198 folder(1), rcvstore(1), slocal(1), mh\-sequence(5)
202 .RB ` -sequence "' defaults to Unseen-Sequence profile entry"
213 is given, it will become the current folder.
214 If multiple folders are given, the last one specified will
215 become the current folder.