>> I used to use slocate like this to search the filesystem for a file: >> >> foo*.txt >> >> but mlocate doesn't seem to accept wildcards. I tried to figure out >> how to do it with find but failed. Can anyone point me in the right >> direction? >> >> - Grant >> >> > > Try locate "*/foo*.txt". mlocate seems to match based on the full path name. > > Also, to quote the manpage: > > If any PATTERN contains no globbing characters, locate behaves as if > the pattern were *PATTERN*.
I get it now, thank you for that. - Grant