On Mon, Aug 13, 2007 at 09:35:39AM +0100, Chris G wrote: > However, taking thought, it should be possible to auto-generate the > folder-hook commands without to much difficulty a simple shell script > using 'find' starting at /home/chris/Mail would do what I want and you > can then use `run the script` in muttrc.
It seems the following does the trick in my environment: find Mail -type d | while read d; do test -d "$d/cur" && echo $d; done I guess I could just replace "echo $d" with a command that prints the entire .muttrc line. Kai
