Is it feasible to fix line endings in all non-binary files under a directory?
There are a lot of answers how to fix line endings in a file.
I'm wondering if it is possible for the command to analyze all files and fix only those which needed.
Convert line endings in all non-binary files under a directory
175 views Asked by Mike At
1
find ./ -type f -exec dos2unix {} \;
source – Mykhaylo Adamovych