Try diff
in the following combination of zsh/bash process substitution and colordiff
in CLI:
diff -y <(xxd foo1.bin) <(xxd foo2.bin) | colordiff
Where:
-y
shows you differences side-by-side (optional)xxd
is CLI tool to create a hexdump output of the binary filecolordiff
will colorizediff
output (install via:sudo apt-get install colordiff
)- add
-W200
todiff
for wider output (of 200 characters per line)
Hints:
- if files are too big, add limit (e.g.
-l1000
) for eachxxd
Sample output: