maxieduncan

Sunday, 25 October 2009

Using locate command on Mac OSX

When you try using locate on Mac OSX you'll typically get the error:

/var/db/locate.database: No such file or directory

To resolve this simply run:

sudo /usr/libexec/locate.updatedb

Thanks to Neil Ang for having found where this command lived.

No comments:

Post a Comment