Marc BAADEN <[EMAIL PROTECTED]> wrote:

> ...
> whether this is something only implemented in this form
> by exmh, which also raises the question whether you can
> easily perform this function on all or a number of folders ?

Sounds like a job for a shell script...if you're using nmh with its 'flist'
command, you can easily get a list of all the folders with multiple
messages in them:

        flist -all -recurse | awk '$NF > 1'

then...the folder name is the first token on each of those lines, so a
/bin/sh style script could do something like this:

        flist -all -recurse | awk '$NF > 1 {print $1}' |
        while read folder
        do sortm +$folder
        done

I haven't used exmh in years, so I'm not sure what information it might
cache around and if sorting folders behind its back will cause any
problems...

-- 
[EMAIL PROTECTED]

Reply via email to