カレントディレクトリにあるtxtファイルを調べる
$ find . -depth 1 -type f -name "*.txt" -print0 | xargs -0 nkf --guess
カレントディレクトリにあるtxtファイルの文字コードと改行を、UTF-8とLFに変換する
$ find . -depth 1 -type f -name "*.txt" -print0 | xargs -0 nkf --overwrite -Lu -w
More than 5 years have passed since last update.
カレントディレクトリにあるtxtファイルを調べる
$ find . -depth 1 -type f -name "*.txt" -print0 | xargs -0 nkf --guess
カレントディレクトリにあるtxtファイルの文字コードと改行を、UTF-8とLFに変換する
$ find . -depth 1 -type f -name "*.txt" -print0 | xargs -0 nkf --overwrite -Lu -w
Register as a new user and use Qiita more conveniently