macoshomebrewrsync

Upgrading rsync on OS X using Homebrew


The rsync version on my OS X (10.10.3) is an old one, 2.6.9. I've tried to upgrade it using Homebrew but I get the following error:

Error: No available formula for rsync

The new one is supposed to be 3.0+ and much quicker, but how do I install this without deleting the old one?


Solution

  • Follow the instructions here:

    brew tap homebrew/dupes
    brew install rsync
    

    And then edit /private/etc/paths to put /usr/local/bin before /usr/bin.

    Edit:

    Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.

    So, only

    brew install rsync
    

    is enough.