I want to update rsync in high sierra.
After I installed it using homebrew, it is installed in
rsync --version still shows 2.6.9. how can I fix that?
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.Sign up to join this community
From this article:
Open the terminal and paste the command:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Homebrew will link most software to
/usr/local/bin. However, the terminal may be looking in other folders first, so lets make sure that
/usr/local/binis the first line in our path list.
sudo nano /private/etc/paths
Now you are ready to install the new Rsync version, and can do so as follows:
brew install rsync
Once completed, you should sign out and back in to MacOS.
When entering the command below, you will see now that you are using rsync 3.1.3 (at time of writing), instead of rsync 2.6.9. You are no longer running a 12 year old version of Rsync!
rsync --version rsync version 3.1.3 protocol version 31
As simple as that.
Try closing terminal window and opening it again. Rsync changes only take place after closing terminal session. Helped in my case.