vivek gaur vivek gaur - 1 year ago 91
Linux Question

How can I run dos2unix on an entire directory?

I have to convert an entire directory using

. I am not able to figure out how to do this.

Answer Source
find . -type f -exec dos2unix {} \;

Will recursively find all files inside current directory and call for these files dos2unix command