Once I set up the SSH connection between the iMac and the MacBook, it is easy to use
rsync
to sync files. However, I am not really into this whole command-line thing, otherwise I'd just get a linux box. Fortunately, I found this nice little app called Unison, which provides a GUI for Mac OS X. The setup is straightforward. There is only one catch: both machines should have Unison installed. I actually found this out by scanning through the console log. One small complain: there is practically no documentation, everything has to be found through google.Below is quoted from Unison website
Unison runs on both Windows and many flavors of Unix (Solaris, Linux, OS X, etc.) systems. Moreover, Unison works across platforms, allowing you to synchronize a Windows laptop with a Unix server, for example.
Since I cannot find a screenshot of Unison running on OS X on its website, I figured it'll be helpful to upload one here: