Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (12 sloc) 498 Bytes


Utility written with node.js that will recursively and intelligently fix line endings on a group of files.

Cleans up \r\r\n, \r\n, and \r endings and converts to \n only.

Automatically ignores non-utf8 files as well as anything starting with a '.' ( hidden files )


Install node.js

Use NPM to install globally

sudo npm install -g linefix

Then just run from a terminal

linefix ./path/to/directory


Licensed under the MIT License.