Skip to content

Instantly share code, notes, and snippets.

@dnorton
Last active August 29, 2015 14:13
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 dnorton/bdac1f49ce1e6da8f41f to your computer and use it in GitHub Desktop.
Save dnorton/bdac1f49ce1e6da8f41f to your computer and use it in GitHub Desktop.
dos2unix missing...
for i in `find my_dir -name '*.sh'`; do echo $i; sed 's/\r$//' $i $i.unix; cp $i $i.dos; cp $i.unix $i; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment