/ Published in: Bash
Replace a string with another one in many files
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$ grep -rl 'windows' ./ | xargs sed -i 's/windows/linux/g'
$ grep -rl 'windows' ./ | xargs sed -i 's/windows/linux/g'