Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Glumpfner

macrumors regular
Original poster
Dec 15, 2009
121
1
Hi there,

I copied a folder that's 276 GB big and has 432 files in it from one external HDD to another one. It tooks about 2 hours to transfer. Now just to make sure I looked up the folder information (⌘+i) of both folders.

Strange thing is, that the new folder is 7 GB and 4 files short! It didn't give me any errors while transferring and I don't have the time to manually compare every single file.

Is there an application that compares 2 folders and tells me what files are missing/different?
 
Hi there,

I copied a folder that's 276 GB big and has 432 files in it from one external HDD to another one. It tooks about 2 hours to transfer. Now just to make sure I looked up the folder information (⌘+i) of both folders.

Strange thing is, that the new folder is 7 GB and 4 files short! It didn't give me any errors while transferring and I don't have the time to manually compare every single file.

Is there an application that compares 2 folders and tells me what files are missing/different?

Open up terminal.

At the prompt:

Code:
$ ls -l /path/to/first/folder > ~/Desktop/list1.txt
$ ls -l /path/to/second/folder > ~/Desktop/list2.txt

Then get a copy of TextWrangler and use the search->find differences function to compare list1.txt and list2.txt -- it'll show a list at the bottom of lines (each line corresponding to a file) that differ or are in one list but not the other. Click on each line to jump to it in the files and see what's different.
 
I've used delta walker in the past and I also recommend that.

I used Beyond Compare on the windows side and wished they'd port that over to OSX. The best comparison tool on the market bar none.
 
I've used delta walker in the past and I also recommend that.

I used Beyond Compare on the windows side and wished they'd port that over to OSX. The best comparison tool on the market bar none.

You and me both. BC is used nearly daily at work and liked it so much I purchased a license for the home, when I still ran Windows here.

Since converting, I've switched to ChronoSync. It might do the job but might also be over-kill.
 
Ouch! DeltaWalker wants $40? Double ouch!

I'd stick with splitpea's Terminal magic. Another free alternative is DiffMerge. I compared the Documents folder off my internal hard drive with an old partition I cloned a while back. 20,000 files, 1700 folders scanned in about two or three minutes. Nicely done.

mt
 
Ouch! DeltaWalker wants $40? Double ouch!

I'd stick with splitpea's Terminal magic. Another free alternative is DiffMerge. I compared the Documents folder off my internal hard drive with an old partition I cloned a while back. 20,000 files, 1700 folders scanned in about two or three minutes. Nicely done.

mt

Oh, I must have got mine when it was free. If it costs that much then use Filemerge, which is an app in Xcode.
 
Ouch! DeltaWalker wants $40? Double ouch!
I'd stick with splitpea's Terminal magic. Another free alternative is DiffMerge. I compared the Documents folder off my internal hard drive with an old partition I cloned a while back. 20,000 files, 1700 folders scanned in about two or three minutes. Nicely done.
mt

Triple ouch!

I've used ChronoSync for a couple of years now

and they're asking $40! - for shareware - what's the world coming to? :(
 
Use diff

I'm just a newbie, but can't you go to Terminal and run:

diff -rq folder1 folder2

This will not only tell you which files are missing, but also whether the other files are identical or not. Enter man diff to learn more (it's not obvious that you an specify folders until you read most of the man page).

Brian33
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.