Directory Comparison software?

Discussion in 'Mac Apps and Mac App Store' started by Mike330R, Jul 20, 2010.

  1. Mike330R macrumors member

    Joined:
    Feb 8, 2010
    #1
    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!
     
  2. lucifiel macrumors 6502a

    lucifiel

    Joined:
    Nov 7, 2009
    Location:
    In your basement
    #2
    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.
     
  3. psxguru macrumors 6502a

    Joined:
    May 19, 2006
    #3
    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/
     

Share This Page