カレントディレクトリ以下にあるファイルの文字コードをUTF-8に一括変換
find . -type -f -name "*.cpp" -print0 | xargs -0 nkf -w --overwrite
カレントディレクトリ以下にあるファイルの改行コードをLFに一括変換
find . -type -f -name "*.cpp" -print0 | xargs -0 nkf -d --overwrite
More than 5 years have passed since last update.
カレントディレクトリ以下にあるファイルの文字コードをUTF-8に一括変換
find . -type -f -name "*.cpp" -print0 | xargs -0 nkf -w --overwrite
カレントディレクトリ以下にあるファイルの改行コードをLFに一括変換
find . -type -f -name "*.cpp" -print0 | xargs -0 nkf -d --overwrite
Register as a new user and use Qiita more conveniently