Skip to content

Instantly share code, notes, and snippets.

@thisismydesign
Last active May 19, 2017 15:52
Show Gist options
  • Save thisismydesign/36c589550519eece172343e474274806 to your computer and use it in GitHub Desktop.
Save thisismydesign/36c589550519eece172343e474274806 to your computer and use it in GitHub Desktop.
Convert DOS line endings to UNIX in all .sh files
find . -name "*.sh" -exec sed -i -e 's/\r$//' {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment