5 .TH FLIST %manext1% "%nmhdate%" MH.6.8 [%nmhversion%]
7 flist, flists \- list the number of messages in given sequence(s)
20 .RB [ \-all " | " \-noall ]
21 .RB [ \-showzero " | " \-noshowzero ]
22 .RB [ \-recurse " | " \-norecurse ]
23 .RB [ \-fast " | " \-nofast ]
24 .RB [ \-alpha " | " \-noalpha ]
36 is used to search a list of folders and display the number
37 of messages in these folders that are in a given sequence or set of
38 sequences (for example the
39 .RI \*(lq unseen \*(rq
40 sequence). This is especially
41 useful if you use some mechanism such as
45 (typically in conjunction with
47 to pre-sort your mail into different folders before you view it.
49 By default, the command
51 will search the current folder for the given sequence or sequences (usually
52 .RI \*(lq unseen \*(rq).
53 If (possibly multiple) folders are specified on the command line with
55 then all these folders are searched for the given sequence(s).
57 will display for each folder searched, the number of messages in each of the
58 specified sequences, and the total number of messages.
62 is used to specify the name of a sequence in
63 which to search for. This option may be used multiple times to specify
64 multiple sequences. If this is not given, then the default is to search
65 for all the sequences specified by the
66 .RI \*(lq Unseen-Sequence \*(rq
67 profile component. For more details about sequences, read the
73 will produce a line for each sequence, for every
74 folder that is searched, even those which do not contain any messages in
75 the given sequence. Specifying
79 to print only those folder/sequence combinations such the folder has a non-zero
80 number of messages in the given specified sequence.
84 is given, then for each folder that is search,
86 will also recursively descend into those folders to search subfolders
87 for the given sequence.
91 is given, only the names of the folders searched will be displayed, and
93 will suppress all other output. If this option is used in conjunction with
97 will only print the names of those folders searched that contain messages in
98 in at least one of the specified sequences.
100 .SS "Multiple Folders"
103 is given (and no folders are specified with
107 will search all the folders in the top
108 level of the users nmh directory. These folders are all preceded by
109 the read\-only folders, which occur as
110 .RI \*(lq atr\-cur\- \*(rq
111 entries in the user's
115 An example of the output of
122 /work/Mail has 5 in sequence unseen (private); out of 46
123 inbox+ has 10 in sequence unseen ; out of 153
124 junklist has 0 in sequence unseen ; out of 63
125 postmaster has 1 in sequence unseen ; out of 3
129 The \*(lq+\*(rq after
131 indicates that it is the current folder.
133 The \*(lqprivate\*(rq flag indicates that the given sequence for
134 that folder is private. See the
136 man page for details about private sequences.
142 are both specified, then
144 will search this folder, and all its first level subfolders for the
145 given sequence. You may specify multiple folders in this way.
149 is invoked by a name ending with \*(lqs\*(rq
154 is assumed by default.
156 The sorting order for the listing is alphabetical (with
158 or in a priority order defined by the
159 .RI \*(lq Flist-Order \*(rq
163 .RI \*(lq Flist-Order \*(rq
164 is a folder name or a
165 folder name pattern that uses * to match zero or more characters.
166 Longer matching patterns have precedence over shorter matching patterns.
171 Flist-Order: personal petproject mh* * admin *junk
175 This order puts a few interesting folders first, such as those with mail
176 addressed to you personally, those about a pet project, and those about
177 mh-related things. It places uninteresting folders at the end, and it
178 puts everything else in the middle in alphabetical order.
183 .ta \w'%etcdir%/ExtraBigFileName 'u
184 ^$HOME/\&.mh\(ruprofile~^The user profile
187 .SH "PROFILE COMPONENTS"
191 .ta \w'ExtraBigProfileName 'u
192 ^Path:~^To determine the user's nmh directory
193 ^mh-sequences:~^File that contains public sequences
194 ^Unseen-Sequence:~^The name of the unseen message sequence
195 ^Flist-Order:~^To sort folders by priority
199 folder(1), rcvstore(1), slocal(1), mh\-sequence(5)
203 .RB ` -sequence "' defaults to Unseen-Sequence profile entry"
214 is given, it will become the current folder.
215 If multiple folders are given, the last one specified will
216 become the current folder.