Skip to content

Instantly share code, notes, and snippets.

@andreadellacorte
Created May 24, 2020 19:54
Show Gist options
  • Save andreadellacorte/610720b23d86abf4e664766ed3fb34fc to your computer and use it in GitHub Desktop.
Save andreadellacorte/610720b23d86abf4e664766ed3fb34fc to your computer and use it in GitHub Desktop.
Convert a folder to unix; usage dirdox2unix <folder>
pushd $1
find . -type f -print0 | xargs -0 dos2unix
popd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment