[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] Questionable code - the bigger picture

From: Jerry Peek
Subject: Re: [Nmh-workers] Questionable code - the bigger picture
Date: Thu, 19 May 2005 14:05:17 -0700 (PDT)

--- Nathan Bailey <address@hidden> wrote:
> I want to be able to do is something like this:
>       scan `pick mostrecent:50 -from "bill smith" -src ++allfolders
> -except +outbox`
> which would:
>       1. Find all messages from "bill smith" across all folders
>          (except outbox and its descendants)
>       2. Show the most 50 messages from (1)

Valdis mentioned making hard links to other folders.  If you don't care
what folder a message comes from, you can simply run "refile -link" on
all of your folders (except outbox) and link all of the messages into a
central folder named something like "allmessages".  You could even do
that from a cron job: nightly, remove and recreate the allmessages
folder.  You can sort the allmessages folder by date, if you want.  You
can also make several allmessages-type folders that are sorted in
different orders.  Because refile -link makes hard links, these
"allmessages" folders take basically no disk space.

This isn't as handy as using something like Glimpse.  But it does
flatten the folder tree and let you use standard MH tools to do more
than you could easily do otherwise.


Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]