SyntaxFix
Write A Post
Hire A Developer
Questions
I have had the same problem and thanks to the posts here I have solved it. I knew that I have around a hundred files and I needed to run it for *.js files only. find . -type f -name '*.js' -print0 | xargs -0 dos2unix
find . -type f -name '*.js' -print0 | xargs -0 dos2unix
Thank you all for your help.