find syntax

Olivier Nicole on at cs.ait.ac.th
Tue Jul 4 08:03:52 UTC 2006


> #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

Most probably.

olivier


More information about the freebsd-questions mailing list