opendiff and FileMerge on OS X

FileMerge

Today I discovered opendiff tool that’s native to OS X – provided you have installed the Xcode on your system. It allows you to compare 2 directories and perform actions such as merge-left, merge-right etc…

Opendiff simply launches FileMerge OS X utility, which is another one I didn’t know about, and displays differences between 2 selected directories.

The very simple command to compare 2 directories is:

opendiff dir1 dir2

This will then launch FileMerge utility and give you a nice visual representation of differences in your folders:
FileMerge

Marko