/ Published in: Bash
From: http://stackoverflow.com/questions/1169927/using-sed-and-grep-to-search-and-replace
Expand |
Embed | Plain Text
egrep -lRZ --include=*.xml "find_string" . | xargs -0 -l sed -i -e 's/find_string/replace_string/g'
You need to login to post a comment.
