Jan Walraven
DevOps



Menu
Categories:
Posted on

Here is a one-liner that recursively replaces line endings and properly handles whitespace, quotes, and shell meta chars.

Install dos2unix

$ brew install dos2unix

Usage

$ find ./ -type f -exec dos2unix {} \;