findとsedでファイルを一斉書き換え

メモ代わりに。

複数のファイルの中身を一斉に書き換えるコマンドの紹介です。

find + xargs + sed で実現できます。

find ./  | xargs sed -i -e 's/変更前/変更後/'

これでおk