Create a gist now

Instantly share code, notes, and snippets.

@dnorton /dos2unix.sh
Last active Aug 29, 2015

Embed
What would you like to do?
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