Recursive convert dos newlines to unix ones with dos2unix

Popular Related Items »

9 Comments »

  1. R Truscott said,

    July 27, 2006 @ 3:28

    That was really handy. Thanks!

  2. PePe Lopez said,

    August 30, 2007 @ 23:40

    Wow!! That was very useful, thanx a lot!!!!!!!!!!!

  3. Abbath said,

    October 1, 2007 @ 10:04

    Nice! u save my life! :D

  4. renish ladani said,

    October 22, 2007 @ 10:41

    very useful and perfect command, i tried on RHEL 4 and it works well, save my lots of time

    Thanks!!!!!!!!!

  5. Abhiram said,

    November 21, 2007 @ 10:41

    Didn’t really work very well for me. I used the following command instead:

    $ dos2unix `find ./ -type f`

    (note that it’s backtick (`) and not single quote (‘))

  6. Рекурсивная конвертация файлов с началом строки в стиле DOS | nikita said,

    January 21, 2009 @ 11:31

    [...] Практически стыбжено и переведено отсюда [...]

  7. HD said,

    May 5, 2009 @ 23:36

    Thank you,

  8. Random Knowledge » Blog Archive » Use dos2unix to convert windows files to unix files said,

    February 24, 2010 @ 20:38

    [...] Source Category: Linux, Windows You can follow any responses to this entry through the RSS 2.0 feed. Responses are currently closed, but you can trackback from your own site. « Recover root password under linux with single user mode Access the GUI setup screen » [...]

  9. Justin said,

    March 24, 2010 @ 9:42

    I found this worked

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

    Will convert the original file, keep the name

    the

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

    just displays the file in unix format in solaris

RSS feed for comments on this post · TrackBack URI

Leave a Comment