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

Mike330R

macrumors regular
Original poster
I am looking for some (prefer free) software that will compare 2 directories and tell me what is different in each dir or what files are missing.

Dir #1 has File 1,2,3,4,5
Dir #2 has File 1,2,3

I am looking for a program that will tell me dir 2 is missing files 4 and 5.

This will be used for dir's with hundreds of files in them.

Thanks!
 
Someone talented in applescript (or you) could probably do this with Automator.

I'm not that guy. But maybe google some self help guides?

Otherwise, good luck.
 
You can use diff to do it eg

diff dir1 dir2

diff -r dir1 dir2 (if you want to recurse subdirectories as well)

diff dir1 dir2 > diff.txt (if you want to pipe results to a text file)

man diff for all the options

There are a few graphical diff tools out there as well.

IIRC the free editor Textwrangler has a built in diff tool that might be easier to use
http://www.barebones.com/products/textwrangler/
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.