Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there an utility to compare the contents of a directory by file contents alone?

I have two sets of files, most of them binary same, but some of them different; but each files of a pair have different names even if their contents match.

Is there a tool that is able to compare the directory contents based on the actual file contents and does not require the filename to match?

I'm on Windows, but also interested in GNU/Linux tools.

share|improve this question
    
don't know but one method could be to order them such that they pair up so the first in dir1 is to be compared with the first in dir2. then rename each file to its position. so dir1 will have files called first, second, third, fourth e.t.c. similarly dir2. Then they'll have the same names. and you'll know which files are meant in your comparison. –  barlop Mar 11 '13 at 14:16
    
Will one of the many duplicate file finders not suffice? –  Karan Mar 11 '13 at 18:58

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.