On Fri, Oct 20, 2000 at 03:06:12PM -0700, Erik Steffl ([EMAIL PROTECTED]) wrote: > kmself@ix.netcom.com wrote: > > > > On Fri, Oct 20, 2000 at 08:30:31AM -0500, Cavaiani, Don ([EMAIL PROTECTED]) > > 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.
> is glimpse significantly better then locate? They're differnt tools. locate (or preferably slocate) find files matching a pattern. glimpse finds files containing an expression. -- 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
pgplmWIrFulhi.pgp
Description: PGP signature