Bash で、再帰的にディレクトリ内のファイルの文字列を置換する方法

find と xargs と sed を組み合わせる

find . -name "*.css" | xargs sed -i 's/置換前文字列/置換後文字列/g'

広告