find syntax

Robert Huff roberthuff at rcn.com
Tue Jul 4 12:22:37 UTC 2006


Olivier Nicole writes:

>  > #find /dir/to/htmlfile -name *.html -exec perl -p -i -e
>  > "s/nagual.st/nagual.nl/g;" {} \;
>  
>  You should escape the * that you pass to find:
>  
>  -name \*.html

	Or quote it:

	find /dir/to/htmlfile -name "*.html"



				Robert Huff


More information about the freebsd-questions mailing list