Author | Miloslav Trmac |
Maintainer(s) | |
Released | 2005 |
Source | mlocate.git |
Homepage |
---|
mlocate is a locate
and updatedb
implementation. The ‘m’ stands for
“merging”: updatedb reuses the existing database to avoid rereading most of the
file system, which makes updatedb faster and does not trash the system caches as
much.
locate exact path to directory from a dir_list
:
~$ xargs -P8 -I{} sh -c "locate {} | grep /{}$" < dir_list ~$ < dir_list parallel 'locate {} | grep /{}$'
- /etc/updatedb.conf
- A configuration file. See updatedb.conf(5).
- /var/lib/mlocate/mlocate.db
- The database updated by default.