recursive dos2unix subdirectories code example Example: dos2unix recursive find . -type f -print0 | xargs -0 dos2unix