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

Re: GREP



On Fri, Oct 20, 2000 at 08:30:31AM -0500, Cavaiani, Don (Don.Cavaiani@plexus.com) wrote:
> 
> I read where the grep command (along with ? command) can be used to search
> your whole hard drive for any file that has a record containing the
> particular character string that you are looking for.

A better solution if you find yourself doing this often is to install an
indexing system such as glimpse.  This creates an index of files on a
regular basis (e.g.:  daily), then searches the index, rapidly, for the
terms you're looking for.  I believe it also respects security -- e.g.:
glimpse doesn't return files found which you wouldn't be able to look
at.

The advantages are faster response and lower system load.  Any chaining
of find and grep is going to require scanning and searching many files.
glimpse and similar tools do this work once.

-- 
Karsten M. Self <kmself@ix.netcom.com>     http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.                    http://www.opensales.org
  What part of "Gestalt" don't you understand?      There is no K5 cabal
   http://gestalt-system.sourceforge.net/        http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0

Attachment: pgpYYaSX23FGg.pgp
Description: PGP signature


Reply to: