Skip to content

Instantly share code, notes, and snippets.

@AndrewRussellHayes
Created January 8, 2015 16:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AndrewRussellHayes/e56868efa88c0f9f0ea0 to your computer and use it in GitHub Desktop.
Save AndrewRussellHayes/e56868efa88c0f9f0ea0 to your computer and use it in GitHub Desktop.
convert all files in dir from dos to unix
for file in `find /dirpath/* -type f`; do dos2unix $file $file; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment