>>> 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
I'm having trouble with this again. I get: # ls -l /var/cache/revdep-rebuild total 424 -rwx------ 1 root portage 699 Feb 28 16:52 0_env.rr -rwx------ 1 root portage 323445 Feb 28 16:38 1_files.rr -rwx------ 1 root portage 34387 Feb 28 16:38 2_ldpath.rr -rwx------ 1 root portage 57 Feb 28 16:40 3_broken.rr -rwx------ 1 root portage 34641 Feb 28 16:39 3_errors.rr -rwx------ 1 root portage 19 Feb 28 16:40 4_ebuilds.rr -rwx------ 1 root portage 79 Feb 28 16:40 4_owners.rr -rwx------ 1 root portage 23 Feb 28 16:40 4_pkgs.rr -rwx------ 1 root portage 23 Feb 28 16:40 4_raw.rr -rwx------ 1 root portage 25 Feb 28 16:40 5_order.rr -rwx------ 1 root portage 2 Feb 28 16:52 6_status.rr # locate *.rr # - Grant

