3 ms·
> locate : Find something anywhere. I strongly dislike updatedb, which is always stealing CPU cycles at inconvenient moments, and locate often seems out of dat
by amelius 8y ago
> 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.
- deleted 8y ago[deleted]
- _arvin 8y agoYou can run updatedb more frequently. By default it is run on a daily cron job and has the smarts to not run when on battery. (see /etc/cron.daily/mlocate) 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.