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:
brew tap homebrew/dupes for homebrew/dupes has been deprecated and merged into build-in homebrew/core
brew tap to find existing homebrew/core
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With