Questions? Feedback? powered by Olark live chat software

Find and replace in multiple files

To find and replace in multiple files on Unix command line use this:

find . -name '*.html' |xargs perl -pi -e 's/find/replace/g'

Posted in Docs & Training