Hi,

For 'find', I can specify which directory (directories) to perform the
search. It seems that there is no such an option for 'locate' to
restrict the search to certain directory rather than everything in the
database (specified by -d).

Also 'find' offer the option -type, which allows me to search based on
the file type. But I don't see there is a corresponding option in
locate.

Is my observation correct? Is there a way to do the above two
operations with /locate'?

-- 
Regards,
Peng

Reply via email to