One thing I like Ubuntu compared to other distro is it's capability to do quick search.
I've been looking for everything
(Windows tool) alternative for quite sometimes and it seems like this is the best at the moment.
However, this Ubuntu system search
only search a local drive installed with the OS.
It doesn't search another physical drive.
Would it be possible to do this?
Ubuntu uses a local database for this. locatedb is one version of this and it has a configuration file located at
/etc/updatedb.conf
.Contents:
As you can tell for this lots of locations are not added to the indexing.
This is an example of a method to add a path when you use locatedb:
I am not sure if needed but
will recreate the database by scanning your discs in case an alteration does not trigger it.
Have your other drives and partitions auto-mounted in your
/etc/fstab
:All of them will automatically be indexed for quick search. For example:
Even Windows files are indexed:
I added the
time
command so you can see how it takes less than a second. For a count of all the files indexed use:It takes
39
seconds to list 625,125 file names and count them.