2

I'm trying to compare hex-dumps of some 500GB disk images. I can easily view parts of the files by piping hd into less. I'd like something similar to interactively diff them without having to read the entire files.

I'd like to manually examine the differences rather than confirm they're different so tools like cmp don't quite fit the job. I don't need to generate patches either.

VBinDiff would be the solution except it only handles for first 4GB of the files and its output is stacked rather than side by side.

An answer to superuser: How do I compare binary files in Linux? suggests diff -y <(xxd foo1.bin) <(xxd foo2.bin) however the xxd pipeline reads the whole file first.

I'd also like to collapse identical lines for easier viewing. I can use solutions that work on either Linux or Windows.

Other questions that don't solve my problem

1
  • I've never used it personally, but I hear 010 editor is one of the best choices for this. It also advertises "Huge file support (50 GB+)."
    – Cole
    Commented Oct 4, 2020 at 5:01

0

You must log in to answer this question.

Browse other questions tagged .