rsync: on remote machine: --extended-attributes: unknown option

If this is the output you get when running rsync, you are almost certainly running the Mac OS X version of rsync -E on the client with something else on the server side. The fix is to install the MacPorts version of rsync. If you've already installed the MacPorts version, check your PATH environment variable (echo $PATH at the command line).

The OS X version of rsync thinks -E is short for --extended-attributes while the Linux version considers this to mean --executability.