bash: 複数ファイル内の特定文字を一気にreplace


ファイル上書きしますよ。

find . -type f -exec sed -i 's/foo/bar/g' {} +

上書きしたくないファイルがあったら、叩いた後に git checkout -- するほうが早そう

https://unix.stackexchange.com/questions/112023/how-can-i-replace-a-string-in-a-files

自分が +1 したら 777 になったよ!