Counterpart
Counterpart copied to clipboard
Add support for MacPorts
Add support for /opt/local/bin/rsync installed by MacPorts, as well as trying whatever rsync is lying around. Ideally, we should just try all three, starting with which rsync, but this should work fine.
Also made the rsync command execution itself slightly more readable by factoring out the common options. In fact, shouldn't --stats be used with --dry-run too?