Blog » Blog Entry

MacOS X updatedb

August 7, 2006

A new MacOS X install has no locate database. If you don't want to wait for the weekly cron to run, do this:

ln -s /usr/libexec/locate.updatedb /usr/bin/updatedb

updatedb

Now the 'locate' command will actually return something!

Tags: mac, updatedb

« Digital Dog Interview Migration to Lighttpd »

it's the little things...

By: Michael Stelly <mjstelly at gmail dot com>

Posted: 3 months ago

geekly overengineering...

problem: ask a geek what time it is?
answer: tells you how a watch works.

i just wanted to know how to find updatedb so i could use it. everyone but you wanted to explain the history and gory details unix updatedb command. geesh.

thanks loads!

Cheers

By: JT <jt at imen dot org dot uk>

Website: http://www.imen.org.uk

Posted: 2 months ago

That's been bugging me for a while: Locate works fine, but when I just download/install a bunch of files and want to find one in particular, can I ? No. But now I can...

Thanks

Add a comment:

Title:

Comment:

Name:

Email:

Website: