Unix2DosTable of ContentsFiXML
Dos2Unix

Dos2Unix command line program converts carriage return, line feed pairs (\r\n) to line feeds (\n) and places the output files in a separate directory if such directory is specified. The file size must be small enough to fit in available memory.

Command line parameters are:

-srcdir    adirectory    directory of the original files. By default, this is the current directory.

-destdir   adirectory    destination directory to save modified files. By default, this is the current directory. The source files will be over written.

-fname     apattern    the file name pattern to search, for example *.*

-r         recursively process sub directories.

This program is needed to correctly transfer text files from DOS (Windows) to Unix (Linux) operating systems. The line breaks used in these systems are different and this program converts them for best compatibility.

Dos2Unix.exe is part of Bestcode File Utilities tool set.

 

webmaster@gobestcode.com