Last active
November 13, 2020 21:37
-
-
Save thedava/ab8844eab95c979918bbdaf1fea6ecc4 to your computer and use it in GitHub Desktop.
Convert line endings to LF
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
find . \ | |
-name "*.conf" \ | |
-o -name "Dockerfile" \ | |
-o -name ".dockerignore" \ | |
-o -name ".gitignore" \ | |
-o -name ".gitkeep" \ | |
-o -name "*Jenkinsfile" \ | |
-o -name "*.js" \ | |
-o -name "*.json" \ | |
-o -name "*.lock" \ | |
-o -name "*.php" \ | |
-o -name "*.phtml" \ | |
-o -name "*.scss" \ | |
-o -name "*.sh" \ | |
-o -name "*.yaml" \ | |
-o -name "*.yml" \ | |
| grep -v "vendor" | xargs dos2unix |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment