On Sun, 23 Aug 1998 [EMAIL PROTECTED] wrote:

> You can do that with the following grep command:
> 
> grep "theword" *.txt */*.txt */*/*.txt etc..
> put a */* for all of the directory tree's.
> I'm not a database expert, but maybe postres or mysql could do the trick.

This seemed like a nice idea, until I actually tried it. It appears that
grep doesn't like the 6000+ arguments I gave on its commandline :-(

Frank

> 
> On 23-Aug-98 Gevaerts Frank wrote:
> > Does anyone know if there is a faster way to search a directory tree for a
> > certain word than "find /dir/ -name "*.txt"|xargs grep -l "theword" " ?
> > I want to do this to make a search engine for my local (LAN) website.
> > Since the site is over 50 megs (I mirror a lot of stuff for local use),
> > and the server is a 486, the search takes more time than I would like.
> > 
> > Is it possible to achieve the same effect using some database, while
> > allowing a search for _ALL_ words, not just a few predefined keywords? If
> > so, how?
> > 
> > Thanks in advance,
> > 
> > Frank
> > 
> 
> 
> --] [EMAIL PROTECTED] [--
> --] www.leto.net      [--
> --] 23-Aug-98 11:44:44[--
> 
> 
> 

Reply via email to