dos2unix recursive folder

C++
find . -type f -print0 | xargs -0 dos2unix
Source

Also in C++: