[ 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.02 How would one go about reading Usenet with MH?
Next Document: 03.04 Why don't MH format commands such as %(friendly) work?


03.03 How can I search through multiple folders?


Date: Mon, 1 Mar 1993 00:00:00 -0800

  Recurse through the folders (in csh and sh):

  % foreach f (`folders -f`)		$ for f in `folders -f`
  ? pick [switches] +$f			> pick [switches] +$f
  ? end					> done

  Or create a folder that contains links to all messages (in csh and sh):

    % foreach f (`folders -f | grep -v -x ln`)
    ? refile -src +$f -link all +ln
    ? end

    $ for f in `folders -f | grep -v -x ln`
    > do refile -src +$f -link all +ln
    > done

  and in the future, refile messages with "refile +folder +ln". To
  find something, use:

    % pick [switches] +ln

  See MH book sections 8.2.9 (7.2.9), 8.9.3 (7.8.3), or the URLs:

    http://rand-mh.sourceforge.net/book/mh/finpic.html#SeMTOnFo
    http://rand-mh.sourceforge.net/book/mh/usilin.html#AFoFuoLi



Top Document: MH Frequently Asked Questions (FAQ) with Answers
Previous Document: 03.02 How would one go about reading Usenet with MH?
Next Document: 03.04 Why don't MH format commands such as %(friendly) work?

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.