I have a 40GB HDD mounted as /home.  It is used for holding emails for about 
100+ users.  One of the occasional tasks I do with this is to prune it out of 
unwanted emails, like chain letters.

I usually run something like:

find -size +500k -print0 | xargs -0 grep -H "search string"

to search the Maildir mailboxes for a certain subject.

The disk is about 98% full, and running the about line takes time for one 
search.

I was wondering if there's a better way to search.  Or if I should be using a 
different fs that would make searches faster.  Btw, I'm using the xfs 
filesystem.


--- mike t.

_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to