Tips:ディレクトリ単位で改行コードを変換する - kmats/Logs GitHub Wiki

  • dos2unixを利用する
  • dos2unixが入っていない場合はyum/aptなどを利用して入れられる

$ find ディレクトリ名 | xargs dos2unix