commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
This command will open up the two files in FileMerge on OS X. You can also compare two directories.
opendiff directory1 directory2
NOTE: FileMerge is a part of the OS X Developer Tools, available on the install disc.