locate and it's db

Roland Glenn McIntosh roland@steeltorch.com
Thu May 16 10:12:00 GMT 2002


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/



More information about the Cygwin mailing list