Saturday, May 23, 2020

Use sed to replace string in directory and sub directories

find ./ -type f -exec sed -i -e 's/oldstring/newstring/g' {} \;

No comments: