[wplug] searching lots of dirs?

Tom Rhodes trhodes at FreeBSD.org
Sun May 8 23:59:27 EDT 2005


On Sun, 8 May 2005 22:26:29 -0400
Zachary Uram <netrek at gmail.com> wrote:

> 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. ???
> 
> zach

%find . -type file -name ".*"
./.cshrc
./.login
./.login_conf
./.mailrc
./.profile
./.shrc
./.mail_aliases
./pittgoth/public_html/.login
./pittgoth/public_html/.logout
./pittgoth/projects/www/admin/case/.htaccess
./pittgoth/projects/www/admin/.htaccess
./pittgoth/projects/www/admin/language/.htaccess
./pittgoth/projects/www/admin/links/.htaccess
./pittgoth/projects/www/admin/modules/.htaccess

Or did I miss something?

-- 
Tom Rhodes


More information about the wplug mailing list