Skip to navigation
How to find and replace batch of text strings in linux command?
07.12.13
find ./ -type f -exec sed -i 's/replacthis/withthis/' {} \;
Reply
Anonymous
How to find and replace batch of text strings in linux command?
find ./ -type f -exec sed -i 's/replacthis/withthis/' {} \;
07.12.13
Reply
Anonymous
and escape and add new line to the replace find . -name *.html -exec sed -i 's/footer>/footer>\n