nmh-workers
[Top] [All Lists]

Re: Scan all folders for unseen messages

2019-12-26 12:31:32
Hi aalinovi,

Is there any way to scan all folders at once to determine which have new
unseen messages or am I reduced to going into each folder individually
in which case I may scrap procmail and just have everything go into
inbox?

This might work for you:

  flists -rec -noshowzero -sequence unseen

.. the "-sequence unseen" may be unnecessary for you, not sure: I've
changed my unseen-sequence to "un", so may not be representative.

Check the man page, but the switches are fairly obvious: -rec descends
to all folders and subfolders, and -noshowzero stops it from listing
folders with no unseen items.

Best,
Conrad

<Prev in Thread] Current Thread [Next in Thread>