isfdoq
Last Updated: February 25, 2016
·
763
· bartlomiejdanek
Bard2

Convert files from Dos to Unix

You need to install dos2unix command line tool:

  • for OS X, you can install it via brew, brew install dos2unix
  • for Debian family systems, just call apt-get install dos2unix
  • and execute following line (all files with txt extension will be converted into to Unix files type)

    $ find . -type f -name "*.txt" -exec dos2unix {} \;

Say Thanks
Respond
Filed Under