home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.infosystems.gopher
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!howland.reston.ans.net!sol.ctr.columbia.edu!The-Star.honeywell.com!umn.edu!mudhoney!lindner
- From: lindner@mudhoney.micro.umn.edu (Paul Lindner)
- Subject: Re: How do I avoid indexing the .cache files
- Message-ID: <C1C06n.KEM@news2.cis.umn.edu>
- Keywords: .cache, waisindexing, searching
- Sender: news@news2.cis.umn.edu (Usenet News Administration)
- Nntp-Posting-Host: mudhoney.micro.umn.edu
- Organization: University of Minnesota, Minneapolis
- References: <1jpe1tINNpv5@gaia.ucs.orst.edu> <mtm.727736234@CAMIS>
- Date: Sun, 24 Jan 1993 00:03:58 GMT
- Lines: 28
-
- In <mtm.727736234@CAMIS> mtm@CAMIS.Stanford.EDU (Mike Macgirvin) writes:
-
- >hanusj@ava.bcc.orst.edu (Joe Hanus) writes:
-
- >>We've waisindexed several directories full of biological data.
- >>Gopher searches turn up the .cache files as hits since they contain
- >>the search strings. How do we avoid producing entries in the index
- >>for the .caches?
-
- > I usually use the following to index directories and bypass
- >dot files:
-
- >waisindex -d .index/index "`find . -type f -print | grep -v '/\.'`"
-
- >You can modify this as necessary to exclude specific filenames by
- >either chaining grep commands or perhaps using "egrep" and its logical
- >"or" construct instead.
-
- You can also use the -stdin option to waisindex, as follows:
-
- find /files.to.be.indexed -type f -print| grep -v '/\.' | grep -v \
- '.hqx' |waisindex -stdin
-
- --
- | Paul Lindner | lindner@boombox.micro.umn.edu | Slipping into madness
- | | Computer & Information Services | is good for the sake
- | Gophermaster | University of Minnesota | of comparision.
- ///// / / / /////// / / / / / / / / //// / / / / / / / /
-