dos2unix on a directory code example Example: dos2unix recursive find . -type f -print0 | xargs -0 dos2unix