Jan Walraven
DevOps



Categories:
  • Arduino (2)
  • CSS (3)
  • Docker (10)
  • Git (3)
  • Javascript (6)
  • Linux (31)
  • Mac (6)
  • Magento (4)
  • Mysql (13)
  • PHP (9)
  • Zend framework 2 (9)
  • Posted on July 19, 2017

    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 {} \;