![]() |
Directory Comparer?
Does anyone know of a good tool to compare two directories and tell me the differences between them? I've got a couple of directories, each with about 3,000 pictures in them (convienienty named DSC_****.JPG) that are about 95% the same. I want something to quickly tell me what files are in one that aren't in the other. I could probably whip up a quick UNIX shell script, except that this is a Windows box. Google brought up the usual list of generic spyware that I don't particularly trust. Anyone know of anything that might do what I need?
Oh, and all I need it to compare is filenames. It doesn't need to, and in fact should NOT check if the files themselves are identical (which is part of why I can't use rsync). |
I have used windiff in the past. It is part of windows support tools and you can download it at the following address
http://www.microsoft.com/downloads/d...DisplayLang=en |
Cool. Thanks. I ended up just booting into Gentoo and writing a shell script after all. I gave in. That tool could have been useful, however.
|
Quote:
|
Quote:
If you don't mind, of course. |
You could have used CygWin for POSIX emulation. Great for having a unix environment on your windows system.
|
Quote:
diff /home/tkang /home/tkang/J2Rev.0.2 I get Only in /home/tkang: .bash_history Only in /home/tkang: .bash_profile ... Only in /home/tkang/J2Rev.0.2: Getstring.h etc... You can also use it to compare files as well. |
Quote:
However, a quick bit of Googling found cmptree, which is kind of what I wanted except on steroids. Code:
#!/bin/bash |
here's a rough command that could be used in the console in windows to tell what files in the source folder are or aren't in the destination folder and dump whether or not they filecompare as the same file as well. I think it gets rather spammy though if files don't compare exactly.
it would be run from the source directory and tmp2 would need to be replaced with the target directory. for %i in ( *.* ) do if exist "tmp2\%i" (fc %i tmp2\%i >> Filecompare.txt ) else echo File tmp2\%i not found >> FileNOTFound.txt ah the good old days before GUI's did all this crap. |
All times are GMT -5. The time now is 11:09 AM. |
Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2025, vBulletin Solutions, Inc.