Skip to content

Instantly share code, notes, and snippets.

@RobinDavid
Last active April 26, 2017 21:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RobinDavid/3ba54b94a005725d7a2acd1f1356d65c to your computer and use it in GitHub Desktop.
Save RobinDavid/3ba54b94a005725d7a2acd1f1356d65c to your computer and use it in GitHub Desktop.
Binary diffing two files
#!/bin/zsh
#require zsh and colordiff (credits: https://superuser.com/questions/125376/how-do-i-compare-binary-files-in-linux)
diff -y <(xxd $1) <(xxd $2) | colordiff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment