Found out an easy way to convert all files under a certain directory from dos format to unix:
find . -type f -exec dos2unix {} \\;
But you will need to have dos2unix installed on your system. On Ubuntu, type in the following command to install if you don’t have it already:
sudo apt-get install sysutils
Enjoy…

Leave a Reply

Your email address will not be published. Required fields are marked *