|
|
Help: Comparing 2 large folders...
|
|
|
|
Senior User
Join Date: Feb 2004
Location: Lost in a "plus" world
Status:
Offline
|
|
I have 2 very large folders each containing hundreds of directories and thousands of files. The folders are exactly alike EXCEPT one of them contains exactly 2 less files than the other. Is there utility or terminal command I can use to compare these two folders and get the names of these 2 rogue files? Thanks!
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Jan 2003
Location: suburban Chicago
Status:
Offline
|
|
There's a "compare folders" application. I've never used it, so I can't comment on how it works; I just know about it. Check on versio tracker.
There may well be another solution, too. This is just an applilcation I've toyed with investigating further. (But obviously, I haven't done so yet.)
|
|
|
|
|
|
|
|
|
Senior User
Join Date: Feb 2004
Location: Lost in a "plus" world
Status:
Offline
|
|
Originally Posted by bbales
There's a "compare folders" application. I've never used it, so I can't comment on how it works; I just know about it. Check on versio tracker.
LOL Google is my friend. Thanks!
|
|
|
|
|
|
|
|
|
Mac Enthusiast
Join Date: Mar 1999
Location: Portland, Oregon, United States
Status:
Offline
|
|
you could also do a ls -laR > first.txt and ls -laR >second.txt from the command line in both directories this will create two text files with a directory listing of the corresponding directories. Then use the FileMerge utility (/Developer/Applications/Utilities/FileMerge.app) to compare the two files. The FileMerge application works great for this kind of thing.
|
--Laurence
|
|
|
|
|
|
|
|
Junior Member
Join Date: Sep 2000
Location: Los Angeles, CA
Status:
Offline
|
|
You can try the diff command. It's very fast.
Code:
diff -r folder1 folder2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|