replacing with new_string
for *.html files only :
Code: Select all
find . -type f -print0 | xargs -0 sed -i 's/to_be_replaced/new_string/g' *.html
Code: Select all
find . -type f -print0 | xargs -0 sed -i 's/to_be_replaced/new_string/g' *.html
Users browsing this forum: No registered users and 1 guest