Tuesday, April 29, 2025
HomeTechnologyWhat you should know about Apple's switch from rsync to openrsync TechTricks365

What you should know about Apple’s switch from rsync to openrsync TechTricks365


rsync allows you to copy and back up files between drives and computers.

Forced by licensing issues, Apple replaced the rsync command-line tool in macOS with an alternative: openrsync. Here’s what you should know about the change.

The rsync command-line tool has been around for decades. It provides users with the ability to copy files and folders to and from remote computers over the Internet and local networks.

Rsync works by comparing files during a request to copy, and only transmitting files that have changed. This reduces the size and time required to make network copies.

rsync was originally written by Andrew Tridgell and Paul Mackerras and released in 1996. Today, the utility is found on most UNIX, macOS, BSD, Linux, and other UNIX-like OS variants, as well as Microsoft Windows systems via utilities such as Cygwin, Grsync, SFU, and others.

rsync is free and open source, but it is currently released under the GPL 3.0 or later license, which has a few restrictions.

Apple has long included rsync in macOS, but the last official version included is 2.6.9. The reason is that the version was released under the GPL 2.0 license, which is somewhat less restrictive than GPL 3.0.

Although rsync 3.x has shipped, Apple has chosen not to include it in macOS due to the licensing issues involved with GPL 3.0.

Instead, Apple has included a variant of rsync called openrsync by developer Kristaps Dzonsons. openrsync is similar to rsync but is licensed under a BSD license, which is more flexible for Apple’s purposes.

While it does most of what rsync does, openrsync is not feature-for-feature complete with it. For a complete list of openrsync commands and options in the macOS Terminal app, type:

man openrsync and press Return.

To exit the man system, type Command-Z, Command-C, or q on your Mac’s keyboard.

For more info on rsync, see the rsync homepage.

Apple still ships the 2.x version of rsync with macOS 15.x Sequoia, but if you type:

rsync --version in Terminal and press Return you’ll now see:

openrsync: protocol version 29

rsync version 2.6.9 compatible

You can check out Kristaps Dzonsons’s full GitHub repo at kristapsdz. The code for the open-sourced version of rsync is on GitHub at RsyncProject.

For more information on how to use rsync on your Mac, see our previous article How to use SFTP and rsync for file transfers in macOS.

If you really need to have the 3.x version of rsync on your Mac (3.4.1 as of this writing) you can do that via Homebrew. However, be aware that installing the rsync 3.x formula via Homebrew will break Apple’s link to openrsync in your Mac’s filesystem.

There’s also a GUI front-end for rsync built on the GTK libraries called Grsync from OPByte software. Though handy, it hasn’t been updated in a few years, so your mileage may vary.

You can also use a Homebrew formula for installing Grsync, called grsync.


RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments