the joy of testing distribution code

One of the “fun” things about build/release work is double-checking that your change hasn’t screwed-the-pooch and left out whole directory branches as a result of a late-night one-last-change change :) The following command has become a staple in my toolkit:

diff -rbq directory1 directory2

This runs diff recursively (-r) across two directories opening files in binary mode (-b) and only spits out differences (-q) So when I goof, it shows up quickly :)


Mentions