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

From: Juan Diego <[email-masked]>
Date: Sat, 13 Mar 2010 01:43:52 +0900

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,  <[email-masked]> 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...
>
> Thanks!
> _______________________________________________
> sup-talk mailing list
> [email-masked]
> http://rubyforge.org/mailman/listinfo/sup-talk
>
_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk

---

From: [email-masked]
Date: Fri, 12 Mar 2010 16:27:40 +0100

Hi there, 

Thanks!

---

From: piotr.kempa <[email-masked]>
Date: Mon, 15 Mar 2010 10:11:48 +0100

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.