---
title: "The rsync Apple Couldn’t Ship"
author: "Zach Shallbetter"
published: 2026-11-30
modified: 2026-11-30
canonical: https://zachshallbetter.com/writing/the-rsync-apple-couldnt-ship
tags: ["macOS", "rsync", "Developer Tooling", "Systems"]
---

# The rsync Apple Couldn’t Ship

The disk was reading 63 MB/s. The other end was receiving 33.

I was moving a 541 GB game install, 504 GiB, from my Mac to a Linux machine. rsync is the tool for that. I typed `rsync`, and macOS gave me one. It wasn’t the one I thought I was getting. It was openrsync, a separate program that macOS installs under the rsync name.

## Why the Mac’s rsync is old

rsync 3.0 came out on March 1, 2008, under version 3 of the GNU General Public License. Apple never shipped it. macOS kept rsync 2.6.9, the last GPLv2 release, from November 2006, for well over a decade.

Recent releases replaced that with [openrsync](https://github.com/kristapsdz/openrsync), a rewrite from the OpenBSD project under a BSD-style license. It installs as `/usr/bin/rsync` and accepts the familiar options, so most scripts keep running. As an answer to a license problem, that’s reasonable. It’s still a separate program. It’s younger than the original and less tuned, and some options behave differently or aren’t there at all. It also speaks an older protocol.

```sh
rsync --version | head -1
```

The copy in macOS answers `openrsync: protocol version 29`. The current release from Homebrew answers `rsync version 3.5.2 protocol version 33`.

When two rsyncs connect, they settle on the older protocol of the pair. My Linux machine already ran 3.5.2. The Mac held both ends back to 29.

## The setup

The files sat on a USB portable hard drive plugged into the Mac. The drive reads between 50 and 85 MB/s, depending on where the data sits on the platter. The Mac has no Ethernet port, so everything left over Wi-Fi, a 6 GHz link on a 160 MHz channel that moved between 576 and 1,297 Mbit/s. The destination was an AMD BC-250 board with an NVMe drive, wired to the router at gigabit.

Every byte made two slow hops before it reached the fast one. I ran rsync over SSH from the Mac, inside a retry loop, so a Wi-Fi drop would resume instead of failing. The numbers below are single measurements taken during the copy. They aren’t a controlled benchmark.

## What it cost

On files from the hard drive, the copy held at about 33 MiB/s while the drive read about 63 MB/s. More data was coming off the disk than was arriving on the other side.

Then a brief Wi-Fi drop killed the connection. The retry loop did its job, except that it started the biggest file, 189 GiB, from zero. About 20 minutes of copying were gone before I noticed and resumed it by hand with `--append`.

When that file finally finished, nothing arrived for about 15 minutes. The Mac was reading all 189 GiB back off the hard drive before it moved on.

## Switching to rsync 3.5.2

I installed rsync 3.5.2 on the Mac, the same version the Linux side had. Then I stopped the old copy and started the new one on the same folders. Finished files were skipped. The half-copied file picked up where it left off. The switch cost nothing.

Files from the hard drive moved at about 50 MiB/s, up from 33. Files that also had a copy on the Mac’s internal SSD reached about 80 MiB/s. The whole-file reads stopped.

**On drive-bound files, the rsync in macOS gave up about a third of the throughput.** Add the restart and the stall, and a few hours of copying became most of an afternoon. I changed the program and kept the drive, the network and the folders. That doesn’t make openrsync slow on every Mac. A clean test would copy the same files twice, once with each rsync, and compare the times. I didn’t run one.

## Install rsync 3 with Homebrew

```sh
brew install rsync
```

Then call it by its full path:

```sh
/opt/homebrew/bin/rsync -a --info=progress2 source/ host:dest/
```

On Apple Silicon, Homebrew’s shell setup puts `/opt/homebrew/bin` ahead of `/usr/bin`, so a plain `rsync` in a terminal usually finds the new one. Scripts and background jobs may not load the shell profile, so they find the system copy instead. On macOS 27.2, that copy rejects both `--info=progress2` and `--append-verify` and refuses to start. Without those flags it runs, and nothing reports which rsync did the work.

## For a long copy

`--partial` keeps an interrupted file instead of deleting it. `--append-verify` continues a partly copied file and checks the part already there, so a resume costs one read of what was copied, not a fresh start.

Wi-Fi drops at some point in a copy this long. A retry loop and an SSH keep-alive, such as `-o ServerAliveInterval=15`, turn a dropped connection into a resume instead of a failure, as long as the loop actually resumes. Mine restarted the 189 GiB file from zero the first time.

Both ends matter too. One old rsync is enough to slow the pair.

The command was the same. The program wasn’t.

---

## Reference

Commands checked on macOS 27.2.1 with Homebrew rsync 3.5.2 on November 30, 2026.

### Checking which rsync is installed

```sh
which -a rsync
rsync --version | head -1
```

`which -a` lists every rsync on the `PATH` in the order the shell tries them. If the first line of `--version` reads `openrsync: protocol version 29`, the shell is running the copy that ships with macOS. The Homebrew build reads `rsync version 3.5.2 protocol version 33`.

### Why macOS doesn’t include rsync 3

rsync moved to the GPLv3 license with version 3.0.0 on March 1, 2008. macOS kept rsync 2.6.9, the last GPLv2 release, and later replaced it with openrsync, a BSD-licensed rewrite.

### Installing rsync 3 on a Mac

```sh
brew install rsync
```

Homebrew installs it at `/opt/homebrew/bin/rsync` on Apple Silicon and `/usr/local/bin/rsync` on Intel Macs. Use that full path in scripts, cron jobs and launchd agents.

### The rsync on the other machine

Both ends use the older protocol of the pair. Check the remote side over SSH, and point at a specific remote binary with `--rsync-path` if it has more than one:

```sh
ssh host 'rsync --version | head -1'
/opt/homebrew/bin/rsync -a --rsync-path=/usr/bin/rsync source/ host:dest/
```

### Resuming a large transfer after a dropped connection

This loop retries until rsync exits cleanly. `--partial` keeps an interrupted file, `--append-verify` continues it and checks the part already copied, and the SSH keep-alives notice a dead link instead of hanging on it.

```sh
until /opt/homebrew/bin/rsync -a --partial --append-verify --info=progress2 \
    -e "ssh -o ServerAliveInterval=15 -o ServerAliveCountMax=4" \
    source/ host:dest/; do
  echo "rsync exited $?, retrying in 10 seconds"
  sleep 10
done
```

Use `--append-verify` only when the source files aren’t changing during the copy. It assumes the existing part of each file on the destination still matches the start of the source.
