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