CmdID

CmdID / Commands

mac2unix

Change macOS-style line endings to Unix-style. tldr-pages

On Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

Change macOS-style line endings to Unix-style. Replaces CR with LF.

Change the line endings of a file

mac2unix path/to/fileIdentify

Create a copy with Unix-style line endings

mac2unix --newfile path/to/file path/to/new_fileIdentify

Display file information

mac2unix --info path/to/fileIdentify

Keep/add/remove Byte Order Mark

mac2unix --keep-bom path/to/fileIdentify