Freshen up rsync

I wrote about rsync in 2009 in a previous post when the OS X was Leopard (10.5).

Generally, I have been pleased with the performance of the version that ships with each successive OS X version. As of the writing of this post I am using El Capitan (OS 10.11.1) on my Mac Air 11″ and as usual the version of rsync works. Now I want to use the latest version to take advantage of better memory management and faster performance.

I want to leave the rsync (version 2.6.9) that ships with the OS in place so that if anything is dependent upon it things won’t break. I simply want to add the new version.

If the package manager Homebrew is installed it is easy to add the newer rsync (3.1.1 in this case). If Homebrew is not installed then install it. Simply paste the following into the terminal prompt.

brew tap homebrew/dupes

brew install rsync

Then edit /private/etc/paths to put /usr/local/bin before /usr/bin

nano /private/etc/paths

That is it. To run the older version of rsync the entire path must be explicitly stated.

/usr/bin/rsync