Recursive convert dos newlines to unix ones with dos2unix
$ find . -type f -exec dos2unix {} ;
Remember to install dos2unix first
Related posts:
- dos2unix on Ubuntu and Debian
- Unix beats Windows – says Microsoft Research
- Recursive search and replace
- The Top 20 Unix Shell Commands I Use
- Top 10 Eclipse Hotkeys
- Ubuntu Netboot and Netinstall with PXE
- Howto Install Oracle on Debian
- Ubuntu Howto: Install Oracle
- PHP Class To Convert Geographic Coordinates Between Projections
- Howto Convert Text File From UTF-8 to ISO-8859-1 Encoding
Popular Related Items »
Incoming search terms
- dos2unix recursive
- recursive dos2unix
- dos2unix recursively
- linux dos2unix recursive
- dos2unix directory
- dos2unix batch
- dos2unix recursif
- dos2unix solaris
- dos2unix ubuntu
- find dos2unix
- batch dos2unix
- linux recursive dos2unix
- ubuntu dos2unix
- recursive dos2unix solaris
- unix recursive dos2unix
- dos2unix recurse
- fromdos recursive
- convert dos to unix
- recursively convert dos to unix
- osx dos2unix
- convert dos to unix debian
- dos2unix recursivo
- dos2unix recursive solaris
- recursive dos2unix linux
- install dos2unix ubuntu
- dos2unix os x
- dos2unix ubuntu recursive
- dos 2 unix in bat file
- dos2unix recursive directory
- dos2unix command recursively
- dostounix solaris
- recursive dos to unix
- ubuntu dos to unix
- mac os x dos2unix
- recursive convert dos to unix
- dos2unix find
- ubuntu convert newline
- convert unix to dos recursive
- dos2unix recursive subdirectories
- unix find dos2unix
- dos2unix directory recursive
- convert newlines batch
- php convert dos to unix
- ubuntu dos2unix recursive
- recursive unix to dos app

R Truscott said,
July 27, 2006 @ 3:28
That was really handy. Thanks!
PePe Lopez said,
August 30, 2007 @ 23:40
Wow!! That was very useful, thanx a lot!!!!!!!!!!!
Abbath said,
October 1, 2007 @ 10:04
Nice! u save my life!
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!!!!!!!!!
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 (‘))
РекурÑÐ¸Ð²Ð½Ð°Ñ ÐºÐ¾Ð½Ð²ÐµÑ€Ñ‚Ð°Ñ†Ð¸Ñ Ñ„Ð°Ð¹Ð»Ð¾Ð² Ñ Ð½Ð°Ñ‡Ð°Ð»Ð¾Ð¼ Ñтроки в Ñтиле DOS | nikita said,
January 21, 2009 @ 11:31
[...] ПрактичеÑки Ñтыбжено и переведено отÑюда [...]
HD said,
May 5, 2009 @ 23:36
Thank you,
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 » [...]
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