Skip to content

Instantly share code, notes, and snippets.

@psrdotcom
Created January 20, 2017 09:02
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 psrdotcom/d73ff9590c3010253b5b2a886704b26b to your computer and use it in GitHub Desktop.
Save psrdotcom/d73ff9590c3010253b5b2a886704b26b to your computer and use it in GitHub Desktop.
for /f "tokens=* delims=" %%a in ('dir . /s /b') do (
"dos2unix.exe" %%a
)
@psrdotcom
Copy link
Author

You can give full path to dos2unix.exe, if you don't have in your environment PATH.
Warning: All the files in the current directory will change EOL from Windows to Unix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment