CmdID

CmdID / Commands

difft

Compare files or directories based on the syntax of the programming language. tldr-pages

On several platforms

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

Several platforms

from tldr-pages, CC BY 4.0

Compare two files or directories

difft path/to/file_or_directory1 path/to/file_or_directory2Identify

Only report the presence of differences between the files

difft --check-only path/to/file1 path/to/file2Identify

Specify the display mode (default is side-by-side)

difft --display side-by-side path/to/file1 path/to/file2Identify

Ignore comments when comparing

difft --ignore-comments path/to/file1 path/to/file2Identify

Enable/Disable syntax highlighting of source code (default is on)

difft --syntax-highlight on path/to/file1 path/to/file2Identify

Do not output anything at all if there are no differences between files

difft --skip-unchanged path/to/file_or_directory1 path/to/file_or_directory2Identify

Print all programming languages supported by the tool, along with their extensions

difft --list-languagesIdentify