SyntaxFix
Write A Post
Hire A Developer
Questions
This worked for me:
find ./ -type f -exec sed -i 's/string1/string2/' {} \;
Howerver, this did not: sed -i 's/string1/string2/g' *. Maybe "foo" was not meant to be string1 and "bar" not string2.
sed -i 's/string1/string2/g' *