Picture of Michael Lee
:wave: Hey hey, I'm @michaelsoolee! I'm a dad and maker of digital and software products.

Updating Rsync on a Mac

Written on July 22, 2015

Rsync is a useful command-line tool to sync files between different locations — local or remote. By default OSX comes with a version of Rsync but it quite outdated. If you’ve got Homebrew installed on your machine it makes it super simple to update Rsync.

First I like to run rsync --version. This is so I have something to run the Homebrew install against and make sure that the installation worked correctly.

The command to run is brew install https://raw.githubusercontent.com/Homebrew/homebrew-dupes/master/rsync.rb. I originally tried running the tap that Homebrew found when running brew search rsync but it didn’t seem to work correctly.

Once Homebrew finishes installing Rsync, restart your terminal window and you should be good to go. You can run rsync --version and you should get a different version number than what you previously saw prior to using Homebrew.

Stay in touch

Thanks for reading this article. I'd love to stay in touch and share more tips on programming and side projects with you. Sign up and I'll send you my articles straight to your email, you'll also get a free copy of the light themed version of my Git cheat sheet for free.
Git cheat sheet preview image