in reply to Re: Bitwise comparision of files
in thread Bitwise comparision of files

I'd use diff -r directory1 directory2.

Replies are listed 'Best First'.
Re^3: Bitwise comparision of files
by Eliya (Vicar) on Feb 28, 2012 at 19:11 UTC

    As I mentioned in parentheses, the advantage of using the checksumming technique is that the directories don't need to be accessible from the same machine.

    Whether that matters here, I don't know, but I figured it might perhaps be useful to someone, sometime.

      As I mentioned in parentheses, the advantage of using the checksumming technique is that the directories don't need to be accessible from the same machine.
      Then I'd use something like rsync -rcn directory1 remote:directory2

        The checksumming approach is still more flexible.

        Example scenario:  a friend phones you for help with a software problem.  At some point while discussing the issue, you'd like to verify that s/he is actually using the same versions/files, because you can't replicate the problem on your side.  So, you create a checksums file of the installation tree and email it to your friend, who can then run the verification without needing any access to your machine whatsoever.