Return to Snippet

Revision: 34579
at October 25, 2010 22:12 by edeustace


Initial Code
egrep -lRZ --include=*.xml "find_string" . | xargs -0 -l sed -i -e 's/find_string/replace_string/g'

Initial URL


Initial Description
From:
http://stackoverflow.com/questions/1169927/using-sed-and-grep-to-search-and-replace

Initial Title
find and replace string recursively

Initial Tags
Bash, replace, linux, find

Initial Language
Bash