LinuxCommandLibrary

meld

TLDR

Compare two files

$ meld [file1] [file2]
copy
Compare three files
$ meld [file1] [file2] [file3]
copy
Compare directories
$ meld [dir1] [dir2]
copy
Compare with version control
$ meld [file.txt]
copy
Start new comparison
$ meld --newtab [file1] [file2]
copy
Output diff
$ meld --output=[merged.txt] [file1] [file2]
copy

SYNOPSIS

meld [options] [files]

DESCRIPTION

meld is a visual diff and merge tool. It highlights differences between files or directories.
The tool provides three-way comparison and merging. Integrates with version control systems.
meld compares and merges files.

PARAMETERS

FILES

Files or directories to compare.
--newtab
Open in new tab.
--output FILE
Write merged result.
--diff FILES
Start in diff mode.
--help
Display help information.

CAVEATS

GUI application. GTK-based. May be slow with large files.

HISTORY

Meld was created as a visual diff and merge tool for GNOME, supporting file and directory comparison.

SEE ALSO

diff(1), kdiff3(1), vimdiff(1)

Copied to clipboard