I wrote this small script to convert all sh files in a directory and all sub-directories to resolve a compilation error I was getting with cygwin...
:: Locate all sh files in the target directory and then
:: Convert CRLF to Unix Style LF
echo Converting Line Feed Carriage Returns to Unix Style Line Feeds...
echo Please Wait...
For /F "tokens=2 delims=:" %%A in ('Find %~dp0 -name "*.sh"') Do dos2unix %%A
Related Article:wget and zenity --progress
is a Shell Scripting discussion thread by Shreerang that has 3 replies and was last updated 2 years ago.