Skip to content

Instantly share code, notes, and snippets.

@Bodom78
Created August 9, 2016 11:56
Show Gist options
  • Save Bodom78/f324aed97d4d628bb7773e5b85a39529 to your computer and use it in GitHub Desktop.
Save Bodom78/f324aed97d4d628bb7773e5b85a39529 to your computer and use it in GitHub Desktop.
dos2unix all files in a directory

From your desired directory:

find . -type f -print0 | xargs -0 dos2unix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment