mlocate tool - search-everything for linux | DIMI’s place

DIMI's place

My thoughts on different things

18 June 2018

mlocate tool - search-everything for linux

I was long looking for a tool that looks like Search everything

So the tool is called mlocate.

You would need to run the following to re-index files before doing search:

/etc/cron.daily/mlocate
#or 
updatedb

Search for files using

locate <file>

Note - that external drives (and mounted drives are not indexed). You must update /etc/updatedb.conf file - remove /media path from PRUNEPATHS

I found it helpful while using docker (without mounting temporary volumes).

Kudos to Vaclav for showing me this tool.

tags: linux - bash - tools