py-dos2unix

Synopsis

py-dos2unix [--help | -h] [--version | -V] [--keepdate | -k] [--oldfile | -o] [--newfile | -n] [--quiet | -q] FILE …

Description

Convert DOS line endings to POSIX (Unix) line endings.

Options

--help, -h

Show a help message to stdout and exit.

--version, -V

Show the program’s version number to stdout and exit.

--keepdate, -k

Keep the date stamp of the output file same as the input file.

--oldfile, -o

Old file mode: convert the given file and write output to it.

Wildcard names may be used safely.

The program defaults to run in this mode.

--newfile, -n

New file mode: convert the input file and write output to a different output file. File names must be given in pairs and wildcard names should not be used or you will loose your files.

--quiet, -q

Quiet mode: suppress all warnings and messages.