This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: locate and it's db
- From: Roland Glenn McIntosh <roland at steeltorch dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 16 May 2002 10:24:15 -0400
- Subject: Re: locate and it's db
- References: <abu1ff$sq7$1@main.gmane.org>
It was I who came up with that dirty substitute. It's worth noting that it doesn't do anything the *real* updatedb script does like pruning and ignoring /tmp and the like. Also, you'll have to mkdir /usr/var in your cygwin installation unless you set the LOCATE_PATH environment variable.
-rgm
At 04:54 PM 05.15.2002 -0700, Ghosty wrote:
>try this:
>
>alias updatedb='find / -name "*" | /usr/libexec/frcode > /usr/var/locatedb
>&'
>
>I found this somewhere, I forgot where, so I can not give the credit to the
>author.
>
>--
>Ghosty
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/