views:

103

answers:

8

Is there a program to compare one folder and all subfolders to another folder and all subfolders for differences in the files contained therein (presence, absence of files, size and list of filenames)?

Example of usage: I have 100 DLL files from environment 1 and I want to check if any of them are different (in size and date modified) from the 100 DLL files in environment 2. So I copy and paste all the DLLs in environment 1 into directory A, and all the DLLs in environment 2 into directory B.

I then run my "directory comparison" program on directories A and B and find out that, aha, here is a list of 7 DLLs that have different modified dates and times between the two directories.

EDIT: OS is windows XP

+1  A: 

Beyond Compare http://www.scootersoftware.com/

Sam
+2  A: 

I'm pretty fond of DiffMerge.

jwismar
This is what I need, and it's freeware... thanks!
John Sullivan
A: 

The first I can think of is the diff tool that comes with any Unix-like system.

baol
It's also available on Windows in the Cygwin package. The fact that is command line only should be considered a plus ;).
baol
A: 

I prefer using Araxis Merge. It's a very useful tool for file and folder comparison and merging. The only disadvantage it has is that it's non-free.

Negai
A: 

Synchronize It is created to do exactly this.

http://www.grigsoft.com/wndsync.htm

Synchronize It! 3 details

1: File list displaying results of folders comparison.
alt text

2: Start dialog in simple form.
alt text

3: Start dialog can be different, if you need full power
alt text

It is made by grigsoft (they also make the excellent Compare It! diffing tool).

Vaccano
A: 

SyncToy does this as well, if you're looking for something free.

http://www.microsoft.com/downloads/details.aspx?familyid=c26efa36-98e0-4ee9-a7c5-98d0592d8c52&displaylang=en

bryanjonker
A: 

Python has a nice file and directory comparison module: http://docs.python.org/library/filecmp.html

The program

import filecmp
filecmp.dircmp( 'a', 'b' ).report()

Will tell you a lot. You can then customize this to provide more or less information on the differences.

S.Lott
A: 

I like WinMerge, though I don't know how well it would perform with binary files like DLLs.

Kip