updatedb command_examples

updatedb command_examples

updatedb – update a database for mlocate

To create a private mlocate database as an user other than root, run

updatedb -l 0 -o db_file -U source_directory

Note that all users that can read db_file can get the complete list of files in the subtree of source_directory.

Leave a Reply

Your email address will not be published. Required fields are marked *