locate command for OSX

Locate is a great unix/linux util that you can use for fast file searching.

enable locate (search command database) this takes 10 minutes the first ime. But it is a background process.

sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist

Updatedb (search db)

sudo /usr/libexec/locate.updatedb

find a specific file

locate file

Author: Thomas Faddegon

Bla bla bla