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

Re: [sup-talk] Search for message by size



Thanks Juan, I actually can do this since I'm on maildir but this will
be quite a bit of work since the filenames don't tell me much about the
message. So I'd have to manually open each found file, see what it's
about and then find the thread in sup. I kind of hoped I could search
from within sup, just like you can search for messages from certain date
range.
But thanks for the idea anyway, I'll do it if I'm really pressed for
space. 

Excerpts from Juan Diego's message of 2010-03-12 17:43:52 +0100:
> if you have maildirs the best for that task is to use "find", ex:
> find <maildir> -size +1M
> will search for files bigger than 1M in the <maildir> directory
> what Im not sure of is how to do it for mbox files
> 
> On Sat, Mar 13, 2010 at 12:27 AM,  <piotr.kempa@wp.eu> wrote:
>> Hi there,
>>
>> Is there a way to search for messages in certain size range? I'm talking
>> about bytes here, like search for messages bigger than 1MB (e.g. for
>> making your maildirs smaller by cutting those 50MB emails from years
>> ago).
>>
>> I can't find anything on the wiki or this mailing list...
>>
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk