I am looking for a command that I could use to run on an entire directory and subdirectory that will convert all line endings from DOS to UNIX.
It should be able to detect if a file is text or binary.
I installed dos2unix using macports but it looks that it does miss the recursive option.