Upgrading rsync on OS X using Homebrew

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


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.


Merged answers of Vaibhav Sagar, Paulo Almeida, woodenflute, Community, the final solution is (just):

brew install rsync

Explanation:

  • NOT need brew tap homebrew/dupes for homebrew/dupes has been deprecated and merged into build-in homebrew/core
    • you can use brew tap to find existing homebrew/core
  • after install, if you are in terminal, you need refresh terminal: source ~/.bashrc, then can use rsync --version to see the new version, otherwise it still show old version