# openrsync flag test — 2026-11-15 05:48 IST ProductName: macOS ProductVersion: 27.0 BuildVersion: 26A428 openrsync: protocol version 29 rsync version 2.6.9 compatible ## each flag, run as: /usr/bin/rsync -a src/ dst/ (rc = exit status; text = first line of stderr) -a rc=0 --info=progress2 rc=1 rsync: unrecognized option `--info=progress2' --delete-delay rc=0 --delete-after rc=0 -X rc=1 rsync: invalid option -- X -A rc=1 rsync: invalid option -- A -H rc=0 --mkpath rc=1 rsync: unrecognized option `--mkpath' --append-verify rc=1 rsync: unrecognized option `--append-verify' --checksum-choice=xxh128 rc=1 rsync: unrecognized option `--checksum-choice=xxh128' --iconv=utf-8,utf-8 rc=1 rsync: unrecognized option `--iconv=utf-8,utf-8' -E rc=0 --protect-args rc=1 rsync: unrecognized option `--protect-args' -s rc=1 rsync: invalid option -- s --partial rc=0 --partial-dir=.p rc=0 --progress rc=0 --stats rc=0 --link-dest=DST rc=0 --backup rc=0 --fileflags rc=1 rsync: unrecognized option `--fileflags' --crtimes rc=1 rsync: unrecognized option `--crtimes' -N rc=1 rsync: invalid option -- N --no-motd rc=0 -z rc=0 --compress-choice=zstd rc=1 rsync: unrecognized option `--compress-choice=zstd' --exclude-from=/dev/null rc=0 --files-from=/dev/null rc=0 -c rc=0 --size-only rc=0 --ignore-existing rc=0 --bwlimit=100 rc=0 -n rc=0 ## --delete with --backup --backup-dir rc=0 dst after: gone.txt keep.txt backup dir exists: no control, --delete alone: rc=0 dst after: keep.txt ## --files-from with a name starting with # list '#notes.txt': copied = plain.txt list './#notes.txt': copied = #notes.txt plain.txt ## delete order — /usr/bin/rsync -av --delete src/ dst/ (src: new1-3, dst: old1-3) Transfer starting: 4 files deleting old3.txt deleting old2.txt deleting old1.txt new1.txt new2.txt new3.txt ## same with --delete-after Transfer starting: 4 files new1.txt new2.txt new3.txt deleting old3.txt deleting old2.txt deleting old1.txt ## Homebrew (not installed on this Mac; read with brew info, 2026-11-15) ==> rsync: stable 3.5.2 (bottled)