Does the locate database not save certain files? Like are there files that excluded from the database by default?
Linux – Do some file get excluded from being saved in the locate database
commandlinuxlocatemacintosh
commandlinuxlocatemacintosh
Does the locate database not save certain files? Like are there files that excluded from the database by default?
Best Answer
Depends on the
locate
implementation and configuration. On my Ubuntu 16.04, the default configuration skips a few things:This configuration skips bind mounts, the
/tmp
,/media
, etc. directories, and various filesystems.