Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!ENG.UMD.EDU!ziegast From: ziegast@ENG.UMD.EDU (Eric Ziegast) Newsgroups: comp.mail.mh Subject: Re: Using { pick, scan, search } on multiple folders Message-ID: <9103221725.AA16059@genesis.eng.umd.edu> Date: 22 Mar 91 17:25:43 GMT References: <23085@as0c.sei.cmu.edu> Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 24 Walter Lamia writes: > >I would like to use the `search' (which uses `pick' command, right?) to >find messages in multiple folders, particularly with the -after switch, >so I can find all the messages that I filed recently, in any of my >folders. > >Is there a way to do this neatly? There are two ways I can think of: 1. Write a script that take multiple folder arguments and does the "pick" on each one. 2. Use slocal and send messages through a filter before using rcvstore. This filter could record (in the order you receive them) a little info about each message and append it to a file. You can later use "grep" and "tail" on it to look for specific messages. I made something like this, but it's pretty kludgy and specific as to what kind of mail I get. In both cases, you're writing a script of some sort. :-( If you enjoy writing scripts, --> :-) ________________________________________________________________________ Eric W. Ziegast, University of Merryland, Engineering Computing Services ziegast@eng.umd.edu - Eric@(301.405.3689)