A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows 7 » Windows 7 Forum
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Comparing the contents of two large folders.



 
 
Thread Tools Rate Thread Display Modes
  #1  
Old September 20th 15, 03:05 AM posted to alt.windows7.general
Peter Jason
external usenet poster
 
Posts: 2,310
Default Comparing the contents of two large folders.

Windows 10
Suspecting a failed clone, I need to compare the System32 folders of
the original and a cloned copy to see if there's a file missing.
Since there are hundreds of files I need some auto way to do this.
Peter
Ads
  #2  
Old September 20th 15, 04:30 AM posted to alt.windows7.general
Mark F[_3_]
external usenet poster
 
Posts: 96
Default Comparing the contents of two large folders.

On Sun, 20 Sep 2015 12:05:50 +1000, Peter Jason wrote:

Windows 10
Suspecting a failed clone, I need to compare the System32 folders of
the original and a cloned copy to see if there's a file missing.
Since there are hundreds of files I need some auto way to do this.
Peter

FolderMatch from www.foldermatch.com
(About US$25, 7 day trial available)
or Syncovery www.syncovery.com
(about US$35 for Standard Edition, US$60 for Professional Edition)

FolderMatch is easier to use for ad-hoc checks, while
Syncovery is more complete and does compares faster.

The performance differences shouldn't matter for "hundreds of files",
but I switched to Syncovery (under an earlier name) when it became
available since it run much contents comparisons much faster and had
few limitations when comparing clones of complete system
disks.
  #3  
Old September 20th 15, 05:27 AM posted to alt.windows7.general
Paul
external usenet poster
 
Posts: 18,275
Default Comparing the contents of two large folders.

Peter Jason wrote:
Windows 10
Suspecting a failed clone, I need to compare the System32 folders of
the original and a cloned copy to see if there's a file missing.
Since there are hundreds of files I need some auto way to do this.
Peter


The two utilities I can find in a quick search (Beyond Compare, WinMerge)
aren't really focused on "missing files" all that much.

The WinMerge has a relatively ugly GUI (you have to read the display, you can't
just glance at it and scroll down quickly).

As I always do things differently than everyone else, I would
be using

md5deep -r -z -W F:\Y_md5deep.txt Y:\

In that example, F: is my RAMDisk and "doesn't rattle when you
write to it". The Y: partition was some OS partition I was
looking at. One of the options in md5deep is "recursive", so
it will descend a whole tree. You could for example, specify
Y:\Windows if you just wanted the Windows tree. I use a command
like that, if I want to checksum an entire partition.

Once the "Y_md5deep.txt" file is prepared, you "diff" that
with the "W_md5deep.txt" file you made for the W: drive
with the original OS on it. Packages like this can be used
to diff two output files.

http://gnuwin32.sourceforge.net/packages/diffutils.htm

And that to me, is the hardest part of the problem, finding
a decent "diff" util. Back in my Unix days, I had an excellent
one, that always gave me what I was after. I can't vouch for
the modern ones, as I'm frequently disappointed in the results
(like, not removing duplicate sections from the output when
they're supposed to).

With diff, the basic idea is

diff a.txt b.txt c.txt

and in the c.txt, it is only supposed to list the significant
differences. This requires "synchronization" between the two
text streams, and figuring out which side is missing a chunk.

Anyway, you won't be doing it that way, so there's nothing more
to be said about it. You'll probably search for a GUI utility,
and preferably, one with a GUI that you can glance at as you
scroll down the results.

The purpose of md5deep, is to compute a checksum for each
file, so you can tell if files were changed or copied exactly.

Diffing a tree, after you've run Windows Updates, well, naturally
some number of files will have changed. Similarly, if the folders
have log files (like w32time.log on my current machine), then
those logs will differ between the two disk drives. So the longer
you run a disk since cloning, the more (nuisance) differences
there will be between them.

Paul
  #5  
Old September 20th 15, 01:11 PM posted to alt.windows7.general
Big Al[_5_]
external usenet poster
 
Posts: 1,588
Default Comparing the contents of two large folders.

Paul wrote on 9/20/2015 12:27 AM:
The two utilities I can find in a quick search (Beyond Compare, WinMerge)
aren't really focused on "missing files" all that much.

I use winmerge. Yes the GUI is ugly but once around the block I find it quite easy to use.
It is two fold, it will compare files or folders. I've never used it though on whole drives or anything that large.
I have some 50K photos in various folders and have used it for that and had no issues.

 




Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off






All times are GMT +1. The time now is 02:44 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.