Saturday, 15 March 2014

Find & Replace across multiple files in linux


Command to Find & Replace a word with another across multiple files in linux

>>> command to replace "test" with "testing" in multiple files

# find . -name "*.html" -print | xargs sed -i 's/test/testing/g'

No comments:

Post a Comment