---
name: "mincdiff"
section: "1"
platform: "linux"
package: "minc-tools"
version: "2.3.00+dfsg-12"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/mincdiff"
---

# mincdiff(1)

report differences between minc files

## NAME

mincdiff - report differences between minc files

## SYNOPSIS

**mincdiff** **\[-header\|-body\]** **\[-l\]** **\[diff options\]** **file1** **file2**

## DESCRIPTION

The *mincdiff* shell script compares two minc files by running **[diff(1)](/diff/1.md)** on the headers of the two minc files, and **[cmp(1)](/cmp/1.md)** on the image variable.  You can view only the header differences using **-header** or only the body (image variable) differences using **-body**.  The option **-l** is passed on to **cmp** of the image variable.  Any unrecognized options (e.g. -u) are passed verbatim to the **diff** of the headers.

## OPTIONS

- **-header** Compare only the headers of the two files.

  - **-body** Compare only the image data of the two files.

  - **-l** Print the byte offset in decimal and the byte value in octal

  for each difference encountered in the image variable.

## AUTHOR

Peter Neelin

## COPYRIGHTS

Copyright © 1993 by Peter Neelin

## SEE ALSO

[*diff*(1)](/diff/1.md), [*cmp*(1)](/cmp/1.md).
