MacOS X updatedb

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!

Be Sociable, Share!

    Post a Comment

    Your email is never published nor shared. Required fields are marked *


    seven × 4 =