Reference · tested 15 November 2026
rsync on a Mac: openrsync, rsync 3 and the flags that fail
On a current Mac, /usr/bin/rsync is openrsync, not the rsync most guides describe. On macOS 27.0 it rejected 13 of the 33 options we tried, each with an error you can see. Three things it accepted ran differently, with no error: --delete with --backup deleted nothing and kept nothing; --delete removed files before copying anything; and --files-from skipped file names that start with #. If you run rsync from Terminal or a script, this page says which options to drop, which to change, and when to install rsync 3 instead.
01
Which rsync does my Mac have?
Run rsync --version. If it prints openrsync: protocol version 29 and rsync version 2.6.9 compatible, you have the system's openrsync — an ISC-licensed implementation of rsync that Apple ships in place of the old rsync 2.6.9. It speaks protocol 29, so it still talks to rsync 3 on a server or NAS.
$ rsync --version
openrsync: protocol version 29
rsync version 2.6.9 compatibleheise reported the change with macOS 15.4 (14 April 2025): rsync 3 is GPLv3, which Apple does not ship, so macOS stayed on rsync 2.6.9 for years and then moved to openrsync. If which -a rsync lists /opt/homebrew/bin/rsync first, your shell runs Homebrew's rsync 3 instead — but any script that calls /usr/bin/rsync by its full path still gets openrsync.
02
Options that openrsync rejects
These thirteen options stop the run before anything is copied: /usr/bin/rsync exits with status 1 and prints unrecognized option (long names) or invalid option (single letters). A script that used to work on an older Mac fails at the first of them.
| Option | What it does in rsync 3 | openrsync on macOS 27.0 | What to do instead |
|---|---|---|---|
--info=progress2 | Fine-grained progress output, one line for the whole transfer | unrecognized option | --progress (per file) or --stats; or rsync 3 |
-X | Preserve extended attributes (--xattrs) | invalid option | rsync 3 |
-A | Preserve ACLs (--acls) | invalid option | rsync 3 |
--mkpath | Create every missing folder in the destination path | unrecognized option | mkdir -p first (over SSH: ssh host mkdir -p <path>) |
--append-verify | Resume an interrupted file and verify all of it | unrecognized option | --partial (accepted) |
--checksum-choice | Choose the checksum algorithm | unrecognized option | leave it out; -c is accepted |
--iconv | Convert the character set of file names | unrecognized option | rsync 3 |
--protect-args -s | Send arguments safely (now --secluded-args) | unrecognized / invalid option | quote paths carefully; or rsync 3 |
--crtimes -N | Preserve creation times | unrecognized / invalid option | rsync 3 |
--compress-choice | Choose the compression algorithm | unrecognized option | -z (accepted) |
--fileflags | Not an option in rsync 3's manual either | unrecognized option | — |
Accepted in the same test: -a, -c, -E, -H, -n, -z, --delete-after, --delete-delay, --partial, --partial-dir, --progress, --stats, --link-dest, --backup, --exclude-from, --files-from, --size-only, --ignore-existing, --bwlimit, --no-motd. Accepted is not the same as identical — the next section is about three of them.
With --progress, openrsync prints its own format, for example 2 100% 195.05KB/s 00:00:00 (xfer#1, to-check=2/3); a script that parses rsync 3's progress lines needs adjusting.
03
Options it accepts and runs differently
These are worse than a rejected option, because nothing tells you. All three were reproduced on macOS 27.0, and all three are in RSync Pro's own engineering notes, found while building it.
--delete with --backup deletes nothing and keeps nothing
In rsync 3, --backup --backup-dir=… with --delete moves each file that would be deleted into the backup folder — a common way to mirror a folder and still keep what was removed. On openrsync the same command finishes with status 0, leaves the stale file in the destination, and never creates the backup folder:
# destination has keep.txt and gone.txt; source has keep.txt
$ /usr/bin/rsync -a --delete --backup --backup-dir=bak src/ dst/
$ echo $?
0
$ ls dst
gone.txt keep.txt # not deleted
$ ls bak
ls: bak: No such file or directoryWithout --backup, the same --delete removes gone.txt as expected. So a backup script that "mirrors and keeps deletions" silently stops mirroring. Some guides recommend exactly this command for a Mac; on openrsync it does not do what it says. To keep deleted files, either run a dry run first (-n --delete -i), move the files it lists as *deleting yourself, then run for real — or use rsync 3.
--delete removes files before it copies
rsync 3 deletes during the transfer by default (--delete-during; deleting first was its old default). openrsync, in our test, deleted every stale file before copying a single new one:
$ /usr/bin/rsync -av --delete src/ dst/
Transfer starting: 4 files
deleting old3.txt
deleting old2.txt
deleting old1.txt
new1.txt
new2.txt
new3.txtIf that run is interrupted — the NAS goes to sleep, the laptop closes — the destination has lost files and gained nothing. Add --delete-after, which openrsync accepts: the same run then copies first and deletes last.
--files-from skips names that start with # or ;
openrsync reads a line in a --files-from list that begins with # or ; as a comment. A file named #notes.txt in the list is never copied, with no error. Write it as ./#notes.txt and it is:
$ printf '#notes.txt\nplain.txt\n' > list
$ /usr/bin/rsync -a --files-from=list src/ dst/ # copies plain.txt only
$ printf './#notes.txt\nplain.txt\n' > list
$ /usr/bin/rsync -a --files-from=list src/ dst/ # copies both04
When you need rsync 3, and how to get it
You need rsync 3 for extended attributes and ACLs (-X, -A), --info=progress2, --mkpath, --iconv, creation times, and for --backup with --delete to keep what it deletes. For a plain copy or mirror, openrsync is enough once you use --delete-after and avoid the rejected options.
Install it with Homebrew:
brew install rsync. On 15 November 2026 Homebrew's stable version was 3.5.2.Open a new Terminal window and run
rsync --version. It should print 3.x; on Apple silicon the file is/opt/homebrew/bin/rsync, which comes before/usr/binin the defaultPATH.Check your scripts, launchd jobs and apps: anything that calls
/usr/bin/rsyncby full path still runs openrsync, and so does anything that runs without your shell'sPATH.
05
Why RSync Pro ships openrsync
A Mac App Store app cannot depend on Homebrew, and rsync 3 is GPLv3, so RSync Pro carries its own build of openrsync (ISC-licensed) inside the app and connects through Apple's own /usr/bin/ssh. That means it works around the traps above itself: a Mirror run deletes after copying, stops if it would delete more than a set limit, and keeps what it deletes without --backup — it does a dry run, moves every file it would delete into a dated .rsyncpro-trash folder in the destination, and only then runs. Those protections are in the free app.
RSync Pro — rsync for the Mac with no Terminal: openrsync built in, the deletions above handled, and setup guides for Synology, TrueNAS and Unraid.
Sources and how this was tested
- Every result above was run on 15 November 2026 on macOS 27.0 (26A428) against
/usr/bin/rsync, in empty test folders. The option list was run as/usr/bin/rsync -a <option> src/ dst/. The raw output of every test is here: tests-2026-11-15.txt. - What each option does in rsync 3: the rsync manual, download.samba.org/pub/rsync/rsync.1, read 15 November 2026.
- When and why macOS moved to openrsync: heise online, "macOS Sequoia: rsync flight out, openrsync coming", 14 April 2025, heise.de/-10350663.
- Homebrew's version:
brew info rsync, 15 November 2026.
macOS updates can change /usr/bin/rsync. This page is re-tested on each macOS release; if a result here no longer matches what your Mac does, write to support@bdtech.app.