Currently, I am using the following command to change dos2unix line endings, but this is for file-y file...
sed -i \'s/\\r//\' filename
Is ther
find $(pwd) -type f | xargs -I xxx sed -i 's/\r//g' xxx