Created
February 11, 2012 17:58
-
-
Save koistya/1803285 to your computer and use it in GitHub Desktop.
Unix2Dos shell script for Git
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Finds all .css and .js files in specified folders and converts LF line endings to CRLF | |
dirs=( './Packages' './App.Web/Scripts' ); | |
find "${dirs[@]}" -type f \( -name '*.js' -o -name '*.css' \) -exec dos2unix -D -v {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment