Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Upgrading rsync on OS X using Homebrew

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.


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


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

If you followed @Vaibhav Sagar's instruction, and checked that everything is correct as per @Michael Ohlrogge's comment and it still doesn't work, try reloading bash as per this answer: How do I reload .bashrc without logging out and back in? by executing . ~/.bashrc or exec bash.