find ./ -type f -exec sed -i 's/findstring/replacestring/g' {} \;
For global case insensitive:
find ./ -type f -exec sed -i 's/findstring/replacestring/gI' {} \;
or
cd /path/to/your/folder
sed -i 's/findstring/replacestring/g' *
For global case insensitive:
find ./ -type f -exec sed -i 's/findstring/replacestring/gI' {} \;
or
cd /path/to/your/folder
sed -i 's/findstring/replacestring/g' *
No comments:
Post a Comment