search from the current directory and replace html files content

How replace the expression expr1 by expr2 in all the html files located from the current directory and all his sub-directories :

[pene@donunix] find . -name "*.html" -print0 | xargs -0 perl -p -i -e 's|expr1|expr2|g'

No comments: