Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
convert all files in a dir to unix using dos2unix

Convert all files in a directory to Unix format

  1. Set up dos2unix

  2. Run the following in the directory

find . -type f -exec dos2unix {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment