change crlf to lf recursively code example Example: convert all line endings to unix find . -type f -exec dos2unix {} \;