Updating the locate database on OSX

locate is a very handy command to find files on the system. It is much faster than find since it keeps a database of all the system files. This database is periodically updated, but if you want to update it yourself, just use the following command:

sudo /usr/libexec/locate.updatedb

Here you can get a bit more information on this handy little command

About elduderino78

I'm a front-end developer working in the bowels of BBC Worldwide & focusing on POSH (HTML), CSS, JavaScript, Ajax, accessibility & usability
This entry was posted in Development, Tools and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">