Ubuntu Manpages

diffoscope

in-depth comparison of files, archives, and directories

diffoscope [-h] [--version] [--debug] [--html output] [--text output] [--max-report-size bytes] [--css url] file1 file2


diffoscope will try to get to the bottom of what makes files or directories different. It will recursively unpack archives of many kinds and transform various binary formats into more human readable form to compare them. It can compare two tarballs, ISO images, or PDF just as easily.

It can be scripted through error codes, and a report can be produced with the detected differences. The report can be text or HTML. When no type of report has been selected, diffoscope defaults to write a text report on the standard output.

diffoscope is developed as part of the “reproducible builds” Debian project and was formerly known as “debbindiff”.

show this help message and exit
show program's version number and exit
display debug messages
write HTML report to given file (use - for standard output)
write plain text report to given file (use - for standard output)
maximum bytes written in report (default: 2048000)
maximum number of lines per diff block (default: 50)
maximum number of lines fed to diff (default: 100000)
threshold for fuzzy-matching (0 to disable, 60 is default, 400 is high fuzziness)
treat absent files as empty
maximum bytes written in report
link to an extra CSS for the HTML report

Exit status is 0 if inputs are the same, 1 if different, 2 if trouble.

  • <https://diffoscope.org/>
  • <https://wiki.debian.org/ReproducibleBuilds>

Debian “Reproducible Builds” Team

GPL-3+