Updating locate database

In this tutorial, we will discuss the The locate command is very easy to use.

Another mean to be sure locate db (and other maintenance tasks) are regularly run is using the free Pseudo Anacron (available on udpatedb - update a database for mlocate updatedb [OPTION]...updatedb creates or updates a database used by locate(1). The problem is updatedb takes a few minutes for my external hard drives.Is there any way I can retain indexing for my externals after I reboot so that the locate command can search through my externals? You do not need sudo rights to set up a user cronjob.

Search for updating locate database:

updating locate database-34updating locate database-9updating locate database-74updating locate database-52

The main issue is that after every new file or directory is created on the system, you need to update the tool's database for it to work correctly.

Leave a Reply

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

One thought on “updating locate database”