find /recursive/replace/directory/ -type f -exec sed -i 's/properlyescapedsearchstring/properlyescapedreplacementstring/g' {} +
by properly escaped, I mean using the backslash character(\) before special characters ( \. \/ \\ )
I should make myself a tool for this.
by properly escaped, I mean using the backslash character(\) before special characters ( \. \/ \\ )
I should make myself a tool for this.
No comments:
Post a Comment