On 06/08/07, Jim Kissel <[EMAIL PROTECTED]> wrote: > > find /your/path/to/a/directory -name '*.lck' -print > > Find trawls the files system but appears to cache when re-run with a > short (hours) time. I've ever used locate. It has a db where it > 'locates' files. BTY, if you are using find on directories that you > don't "own", you may need to sudo find has the errors it produces when > it doesn't have permission to read a directory can overwhelm the actual > output of any search. >
I'm posting without testing, so I may be wrong. I wouldn't have thought that find would cache the results. It's probably the disk cache for the file system that speeds things up. Hwyl, Neil. -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.kubuntu.org/UKTeam/