locate and updatedb on OS X Snow Leopard

On Linux, I love using the "locate" utility. In essence, the locate utility works similar to the "find" utility but it's much faster. This is because the locate utility works in conjunction with the "updatedb" utility. updatedb builds an indexed database of the file names, this is how locate runs so quickly.

I was stoked to find out that OS X has locate, but where is its partner in crime updatedb? Google to the rescue, djangrrl.com has the answer: sudo /usr/libexec/locate.updatedb

Are you a Git user? Let me help you make project management with Git simple. Checkout Gitpilot.

Follow me on Twitter: @jprichardson and read my blog on entrepreneurship: Techneur.

-JP

comments powered by Disqus
Proudly built with Sky.