> locate : Find something anywhere.
I strongly dislike updatedb, which is always stealing CPU cycles at inconvenient moments, and locate often seems out of date.
We should have had instant, database-like indexing in our filesystems ages ago.
I strongly dislike updatedb, which is always stealing CPU cycles at inconvenient moments, and locate often seems out of date.
We should have had instant, database-like indexing in our filesystems ages ago.
You can also exclude directories in /etc/updatedb.conf that you don't want locate to index. I think in your case a more frequent cron job make sense. If run often enough, it finishes very quickly when running updatedb, which will you give you the instant search you're looking for.