Recursive text find and replace in linux
on Thursday 29th January, 2009 Gabe speculated thusly…Always forget how to do this:
find ./ -type f -exec sed -i.bk ’s/string1/string2/g’ {} \;
Always forget how to do this:
find ./ -type f -exec sed -i.bk ’s/string1/string2/g’ {} \;