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!
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
Post a Comment