The Straight Dope

Go Back   Straight Dope Message Board > Main > General Questions

Reply
 
Thread Tools Display Modes
  #1  
Old 08-03-2012, 04:17 PM
aceplace57 aceplace57 is online now
Member
 
Join Date: Oct 2009
Location: CentralArkansas
Posts: 9,994
Looking for a utility that will compare folders and report which are missing.

Win XP, Win 7 are my operating systems

Copied a root folder with about 50 sub folders to another hard drive as a backup. Since then I've added more sub folders under the root.

Need a utility that will simply match folders from one location and another. Report whats missing.

In my case it's folders that I care about. But if the utility works at the file level thats fine too.

I did it the hard way one time by printing off the folder tree from each location. Manually checked off the missing ones with a pencil. I never, ever, ever want to do that again. Talk about a major PITA. This is why computers were invented.

Last edited by aceplace57; 08-03-2012 at 04:21 PM.
Reply With Quote
Advertisements  
  #2  
Old 08-03-2012, 04:32 PM
Kimballkid Kimballkid is offline
Guest
 
Join Date: Dec 2011
Winmerge
Reply With Quote
  #3  
Old 08-03-2012, 04:37 PM
Blakeyrat Blakeyrat is offline
Guest
 
Join Date: Feb 2010
Quote:
Originally Posted by Kimballkid View Post
Syncback can give you a report like that, and then you can give it a "go ahead" to merge A with B or B with A.
Reply With Quote
  #4  
Old 08-03-2012, 07:25 PM
J-P L J-P L is offline
Guest
 
Join Date: Jun 2008
Microsoft SyncToy is also a program that will synchronize folders and files between a source and a target, you can get a preview of what it would do
Reply With Quote
  #5  
Old 08-03-2012, 07:58 PM
DrCube DrCube is offline
Guest
 
Join Date: Oct 2005
I don't know about Windows, but in Linux I would just do something like

$ls /path/to/folder1 >somefile
$ls /path/to/folder2 >someotherfile
$diff somefile someotherfile

I'm pretty sure similar commands exist in cmd.exe.
Reply With Quote
  #6  
Old 08-03-2012, 08:30 PM
DrCube DrCube is offline
Guest
 
Join Date: Oct 2005
Quote:
Originally Posted by DrCube View Post
I don't know about Windows, but in Linux I would just do something like

$ls /path/to/folder1 >somefile
$ls /path/to/folder2 >someotherfile
$diff somefile someotherfile

I'm pretty sure similar commands exist in cmd.exe.
A quick googling shows that you can just replace "ls" with "dir" here and it should work on Windows. "Diff" is apparently not as full featured on Windows as on Unix, but it shouldn't matter for this application.
Reply With Quote
  #7  
Old 08-03-2012, 08:55 PM
littlespeedysuperbike littlespeedysuperbike is offline
Guest
 
Join Date: Jun 2006
Just run "Windiff" and then "Compare directories".
Reply With Quote
  #8  
Old 08-03-2012, 09:47 PM
Senegoid Senegoid is offline
Guest
 
Join Date: Sep 2011
Back in the Paleocene there was a DOS program called DIRMATCH that did this, for files in two directories. I suppose it would have shown subdirectories too. It was published, for free, in one of the PC hobbyist magazines. It showed side-by-side lists of the two directories, highlighting those with mis-matched timestamps too. It has options to copy individual files from one directory to the other, or to copy ALL the newer files over ALL the older (or missing) ones.

I would guess that it still works in DOS or cmd mode, but only for old-style 8.3 file names. One of the above-mentioned modern programs may well be the updated Winders version of it.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 04:05 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Send questions for Cecil Adams to: cecil@chicagoreader.com

Send comments about this website to: webmaster@straightdope.com

Terms of Use / Privacy Policy

Advertise on the Straight Dope!
(Your direct line to thousands of the smartest, hippest people on the planet, plus a few total dipsticks.)

Publishers - interested in subscribing to the Straight Dope?
Write to: sdsubscriptions@chicagoreader.com.

Copyright © 2013 Sun-Times Media, LLC.