bobatkins Posted November 20, 2003 Share Posted November 20, 2003 I'm looking for a utility that will compare the files in two directories (and subdirectories) and report any that are different. I'm backing up images onto DVD and occasionally I get a verfification error. Unfortunately it just says "Verification failed - one or more files were different". It doesn't tell me how many files, or which files (dumb software - RecordNow). I'd like to compare the source directory to the DVD copy and figure out if it's one unimportant image or 100 important images, so I know whether or not to burn another copy or just add the one bad file to the disk (or another disk). I know I suppose I should burn a new disk to be safe, in case the disk itself was bad and so prone to failure, but I'm still interested in which files failed to verify. I did a web search but didn't come up with any simple utility that will compare directories and report differences in any files. All I can find are utilities that find files that are the same (duplicates) in two directory stuctures. Anybody know of one (freeware prefered, but anything is of interest). I'm running Windows XP Home. I tried ExamDiffPro, but it only compares individual files or directory structures, it won't compare all files in all subdirectories as far as I can tell. Link to comment Share on other sites More sharing options...
peter_foiles2 Posted November 20, 2003 Share Posted November 20, 2003 Bob, try looking at looking here http://www.ghisler.com/ for a program called "Total Commander". It has a directory synching facility that I think will do what you want. It's a nice file utility, has the old DOS files utility feel to it. Link to comment Share on other sites More sharing options...
bart feliciano Posted November 20, 2003 Share Posted November 20, 2003 This is easier in linux or unix... start -> run -> cmd in the dos prompt/windows shell from directory 1, type this in a windows shell: dir /B > file1 from directory 2: dir /B > file2 You can compare the out put of both these files in wordpad. If you want to get fancy, install Cygwin and run a diff on the files. Email me if you want more detailed instructions. It's quite eye glazing, but actually straightforward. Link to comment Share on other sites More sharing options...
bobatkins Posted November 20, 2003 Author Share Posted November 20, 2003 Thanks guys, but what I need is a bit by bit comparison of all the files in both directories, not just a comparison of file names and I don't think either suggestion will do that. There are lots of directory synchronization programs that look for files with the same name but different sizes or dates but that's not what I need. I need to look at the binary contents of all the files. What I need is a program that effectively does a backup verify, looking at and comparing the binary data in each file to see if it can find any differences. There are backup programs with verification, but I have not yet found one that will perform only the verify function if it's given the name of two directories. There are programs that will do this given two files, but there are hundreds of files and doing them one by would would take days! Link to comment Share on other sites More sharing options...
walter_degroot Posted November 20, 2003 Share Posted November 20, 2003 we use ztree, a dos-like file manager ver 1.49 may be required for xp ver 1.41 will work with 98.me it permits a split screen ( press F8) and you can copy/move and do lots of stuff with filers and directories it only LOOKS like a dos app it is a true 32 bit app and supports lfn a trial can be d/l from www.ztree.com or just type ztree in your browser and find the site. it makes no registry entries. Link to comment Share on other sites More sharing options...
bart feliciano Posted November 21, 2003 Share Posted November 21, 2003 oops I misunderstood. I think this might help you. http://www.md5summer.org/ Link to comment Share on other sites More sharing options...
dmitriy_budko Posted November 21, 2003 Share Posted November 21, 2003 Use the standard 'fc' command line Windows utility. Windows 2000 has it and Windows XP should have it too. For example: d:\>fc directory1\*.* directory2\*.* Link to comment Share on other sites More sharing options...
mendel_leisk Posted November 21, 2003 Share Posted November 21, 2003 I believe I used this before, a little slow, but seemed to work: http://www.elpros.si/CDCheck/ Link to comment Share on other sites More sharing options...
hyunyu Posted November 21, 2003 Share Posted November 21, 2003 Bob-- I use Comparator from SofteByteLabs: http://softbytelabs.com/Frames.html It used to be a freeware, but it looks like with the latest version they went to shareware. If you want, I can e-mail you the freeware version 2.2. It's got two-pane window and you can scan folders and subfolders for files that are missing, newer, and the same. You have options to copy the files that are different/newer/older. Not sure about "bit by bit" comparison--Comparator checks by file size and date. Link to comment Share on other sites More sharing options...
bernhard Posted November 21, 2003 Share Posted November 21, 2003 I think 'Beyond Compare' can do this. If you can't find it, email me. Link to comment Share on other sites More sharing options...
bloosqr Posted November 21, 2003 Share Posted November 21, 2003 Hi bob,<p> I would give you an esoteric find command but probably the simplest thing to do is use "rsync" which is available on cygwin. <p> The command is basically : <p> rsync -n dir1 dir2 <p> It will recursively go through your directories and tell you exactly what files in dir2 are different from the files in dir1. <p> Just fyi: rsync is actually made to "synchronize" directories so basically it does compares the two directories and cleverly copies the differences only over The -n basically says don't bother copying and tell me what the differences are which is what you want. (btw rsync actually works over networks so its a great backup tool because it will only transfer the differences) Link to comment Share on other sites More sharing options...
bloosqr Posted November 21, 2003 Share Posted November 21, 2003 Just to be clear by "differences" I dont mean the filenames or but the parts of each file in dir1 that are different from dir2. best regards, -avi Link to comment Share on other sites More sharing options...
bloosqr Posted November 21, 2003 Share Posted November 21, 2003 Not to keep replying to myself :) But but "rsync" is basically a "synchronization" tool as you put it. I'm surprised that in the "official" windows world (i.e. not cygwin) Synchronization is based on timestamps or filesizes. This is really not the way to go because timestamps can drift on different machines or if a clock gets screwed up and you are forced to copy the entire file if you change a small thing in it. "rsync" is basically doing the bit-by-bit check in a clever way. It might be possible that your "sync" tools may optionally do something similiar. Link to comment Share on other sites More sharing options...
steve_bright1 Posted November 21, 2003 Share Posted November 21, 2003 Windiff (a Micro$oft tool) allows comparison of either a pair of files or whole directories. In the latter case it will report whether one directory has more files than the other, or if individual files differ, saying which file is more recent. You can then double click on a file and see an exact breakdown of where the differences lie, although that bit's only really useful for textual files. I got it off the NT resource kit CD, but I think it's available for download from MS. Link to comment Share on other sites More sharing options...
ssonne Posted November 21, 2003 Share Posted November 21, 2003 I've used WinHex to do binary compares like this...worked nice and fast for me...<br>http://www.sf-soft.de/winhex/index-m.html Link to comment Share on other sites More sharing options...
chris_hawkins Posted November 21, 2003 Share Posted November 21, 2003 Bob: <a href="http://www.clonespy.de/english/" ><b><u> Clonespy</b></u> </a> does what I think you want. Link to comment Share on other sites More sharing options...
chris_hawkins Posted November 21, 2003 Share Posted November 21, 2003 I forgot to add that you need to use the "checksum" option to do the bit-by-bit comparison. Link to comment Share on other sites More sharing options...
ted_marcus1 Posted November 21, 2003 Share Posted November 21, 2003 I concur with Mendel Leisk's recommendation of CDCheck. After I copy a directory (or directories) to CD for archive, I run CDCheck to verify the integrity of the copies before deleting the files from the hard disk. Not the fastest operation in the world, but it works-- and provides peace of mind. Link to comment Share on other sites More sharing options...
vincent Posted November 21, 2003 Share Posted November 21, 2003 You might also want to try WinMerge: http://winmerge.sourceforge.net/ Point it to two directories, turn on the recursive option, choose which file extensions you want to compare (*.*, *.gif, *.txt, etc) and it'll tell you which files are same/different/missing. If they're text files, you can also bring up a visual comparison and merge differences in the files. I use it for source code, but it works with binary files as well. Similar to WinDiff and Beyond Compare. Link to comment Share on other sites More sharing options...
kennethbowen Posted November 21, 2003 Share Posted November 21, 2003 Windiff will work. Or, you could install the cygwin tools and use diff from a shell script to find and compare each file. That's what I'd do. Link to comment Share on other sites More sharing options...
jon_austin Posted November 21, 2003 Share Posted November 21, 2003 Bob: I strongly recommend WMatch 2.0, which is a PC Magazine Utility written last year. It's compatible with all versions of Windows from 95/NT through XP, and is extrememly easy to install and use. When comparing two folders, if two files of the same name are found, and if they are the same size, then WMatch performs a 32-bit cyclical redundancy check on the contents of both files; this provides the "bit-by-bit" comparison you're looking for. For more information, check out the following link: http://www.pcmag.com/article2/0,4149,951402,00.asp The above link provides extensive explanation of the installation, use, functionality (and programming) of this utility, but no visuals. Let me know if you'd like to see some screen shots, and I'll e-mail some to you. PC Magazine utilities are free, but they've recently begun charging for access to their download library @ $19.97 per year for unlimited downloads. (Lower prices -- down to $4.97 -- are available for subscribers to their print magazine, or for limited time periods and downloads.) I know you're not looking for one now, but if you ever decide to get a better back-up utility that provides file-by-file comparison during the verification stage, I strongly recommend Nero Burning ROM by Ahead Software: http://www.nero.com/us/index.html Good luck, and let me know if I can provide any additional information about either of these two programs. Link to comment Share on other sites More sharing options...
jon_austin Posted November 21, 2003 Share Posted November 21, 2003 Although I used the language "When comparing two folders," I should make it clear that WMatch will compare all subfolders below any two "starting" folders, as well, if that option is selected. In the extreme, you can compare two entire drives, beginning in their root folders (for example, C:\ and D:\). I wrote that the PC Magazine article describing WMatch provides "no visuals," when I meant to write "not many visuals." There are links to three "figures" (illustrations) in the article. In any case, the offer to share screen shots still stands. Link to comment Share on other sites More sharing options...
michael_krabach Posted November 21, 2003 Share Posted November 21, 2003 I have used a program called TestPath ver 1.2 for a couple years. Works great. Specifically for comparing cd's against source material. New version 1.3 is out. it does byte by byte comparison as lesser compares. Free for personal use. Shareware for corporate use. The URL is http://home.parks.lv/ojarsk/dl.htm Link to comment Share on other sites More sharing options...
kenc Posted November 22, 2003 Share Posted November 22, 2003 From Component Software: <link>http://www.ComponentSoftware.com/products/csdiff/</link> Link to comment Share on other sites More sharing options...
daniel_moore Posted November 23, 2003 Share Posted November 23, 2003 TestPath 1.3 is about the easiest software I have ever had the pleasure to use. I'm also on XP home and it's author, Ojars Krumins, has verified it's accuracy with it. If more things in life were that simple... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now