Linux Command Library
commands
Commands
basic
Basic
tips
Tips

ntfscmp

compare two NTFS filesystems and tell the differences

ntfscmp [OPTIONS] DEVICE1 DEVICE2

The ntfscmp program makes a comparison between two NTFS filesystems from all aspects and reports all variances it finds. The filesystems can be on block devices or images files. Ntfscmp can be used for volume verification however its primary purpose was to be an efficient development tool, used to quickly locate, identify and check the correctness of the metadata changes made to NTFS.

If one is interested only in the NTFS metadata changes then it could be useful to compare the metadata images created by using the --metadata option of ntfsclone(8) to eliminate the usually uninteresting timestamp changes.

The terse output of ntfscmp is intentional because the provided information is enough in each case to determine the exact differences. This can be achieved, for instance, if one compares the verbose outputs of ntfsinfo(8) for each reported inodes by the diff(1) utility.

Below is a summary of the options that ntfscmp accepts.

-P, --no-progress-bar
Don't show progress bars.
-v, --verbose
More informational output.
-h, --help
Display help and exit.

The exit code is 0 on success, non-zero otherwise.

No problem is known. If you would find otherwise then please send your report to the development team: ntfs-3g-devel@lists.sf.net

ntfscmp was written by Szabolcs Szakacsits. It was ported to ntfs-3g by Erik Larsson.

ntfscmp is part of the ntfs-3g package and is available from: http://www.tuxera.com/community/

ntfsinfo(8), ntfscat(8), diff(1), ntfsclone(8), ntfsprogs(8)

play store download app store download
Imprint
Sonnenallee 29, 12047 Berlin, Germany
e-mail: sschubert89@gmail.com

Privacy policy
Successfully copied