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

If you made it this far, you should follow me on Twitter.

-JP

Want to test-drive Bitcoin without any risk? Check out my bitcoin wallet Coinbolt. It includes test coins for free.

comments powered by Disqus