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.
This is a place where I record snippets of information that I've found useful and that I think that I may need to refer to again. If anyone else finds them useful as well then that's great.
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