Skip to content

Instantly share code, notes, and snippets.

@esebastian
Last active August 29, 2015 13:59
Show Gist options
  • Save esebastian/10536078 to your computer and use it in GitHub Desktop.
Save esebastian/10536078 to your computer and use it in GitHub Desktop.
Convert DOS CRLF newlines to Unix/Linux LF
find . -type f -print0 | xargs -0 perl -pi -e 's/\r\n/\n/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment