[ Usenet FAQs | Web FAQs | Documents | RFC Index ]
    Search the FAQ Archives

Single Page

Top Document: MH Frequently Asked Questions (FAQ) with Answers
Previous Document: 03.21 Fixing folders: unable to allocate storage for msgstats
Next Document: 03.23 Why do folder and flist overlook some of my sub-folders?


03.22 How do I recursively list message attachments?


Date: 31 Oct 2001 00:36:14 +1100

  I haven't quite managed a recursive listing, but I have worked out a
  recursive store, which is still useful. Hinted by a builtin display
  string for mhshow, I found the following works for mhstore:

    mhstore-store-message/rfc822: | mhstore -file -

  With that, mhstore will happily recurse down storing everything on
  its way. Not very discriminate, but the line can be altered to limit
  without destroying the recursion:

    mhstore-store-message/rfc822: | mhstore -auto -type message/rfc822 -type image/jpeg -file -

  which also names the files automatically for good measure.

  And, FWIW, I engage this by putting it in a separate file and
  invoking mhstore like

    env MHSTORE=mhn.rec mhstore



Top Document: MH Frequently Asked Questions (FAQ) with Answers
Previous Document: 03.21 Fixing folders: unable to allocate storage for msgstats
Next Document: 03.23 Why do folder and flist overlook some of my sub-folders?

Single Page


[ Usenet FAQs | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
Bill Wohler <wohler@newt.com>

Last Update October 22 2009 @ 05:26 AM

Some parts © 2009 Advameg, Inc.