question about locate
Matthew Flaschen
matthew.flaschen at gatech.edu
Tue Mar 20 00:02:35 UTC 2007
Juan Carlos Torres wrote:
> On Tuesday 20 March 2007, Oscar Farfán wrote:
>> Hello there
>>
>> I'm triying to locate a document in my computer but I can't use locate....
>
> Locate is a bit quirky compared to find or kfind (K Menu -> Find). It's faster
> than find because it sorts of creates an index (or database) of files at
> every boot and searches that database instead of going through every folder
> (like what find does). The problem is that it doesn't automatically add newly
> created files to that database. So if you downloaded or created a new file,
> locate won't be able to find them unless you update the database, using "sudo
> updatedb" command.
It runs automatically every day (and this can be increased)... I've
actually found kfind a bit unreliable, but it should be okay for most
purposes.
Matthew Flaschen
More information about the kubuntu-users
mailing list