[wplug] searching lots of dirs?

Sal Mangiapane salm at servanttechnology.com
Mon May 9 22:31:34 EDT 2005


>>How do I search for dotfiles with find? I tried locate and it didn't
>>find anything. I am searching dirs in AFS so I tried `find . -name
>>"*foo*" -print -noleaf` and it still seems to only be searching 1
>>level. ???
>>    
>>

Why not:

find .  | grep foo

You can add "-type f" because use said files and the "-print" is optional:

find . -type f -print | grep foo

Sal


More information about the wplug mailing list