/ Published in: Bash

From:
http://stackoverflow.com/questions/1169927/using-sed-and-grep-to-search-and-replace
http://stackoverflow.com/questions/1169927/using-sed-and-grep-to-search-and-replace
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
egrep -lRZ --include=*.xml "find_string" . | xargs -0 -l sed -i -e 's/find_string/replace_string/g'
Comments
