Hi,
I'm diffing a bunch of binary files, recursively.
Basically, I'm running:
diff --recursive --brief dir_a dir_b
And this tells me which files differ, and which are only present in one of the locations.
I'd like to get a bit more information, roughly, how much different they are from one another. A percentage would do.
Is there a simple, unixy, relatively fast way to do this?
Regarding the metric
So, most responders are wondering about how I want to calculate the percentage, and the answer is, very much, I don't care. I'm thinking something in the lines of diff size over compound size of both files would do. But if there's something else out there that uses a different metric, I'm taking it. I just need a rough value.
git
tends to show some sort of diff percentage for commits, any idea what the metric would be here?