Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
for /f "tokens=* delims=" %%a in ('dir . /s /b') do (
"dos2unix.exe" %%a

This comment has been minimized.

Copy link
Owner Author

@psrdotcom psrdotcom commented Jan 20, 2017

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