On 2025-07-13, Sean Kamath <kam...@moltingpenguin.com> wrote: > > --Apple-Mail=_1FD8DC86-D7FD-4C77-ACFC-87069226DEBA > Content-Transfer-Encoding: quoted-printable > Content-Type: text/plain; > charset=utf-8 > > > >> On Jul 12, 2025, at 23:12, Jan Stary <h...@stare.cz> wrote: >>> On Jul 12 14:55:22, kam...@moltingpenguin.com wrote: >> ... >> (BTW, why the dot in "local_path/." ?) > > Habit. When specifying directories, and wanting to absolutely ensure = > it=E2=80=99s a directory, I use /. on the end. > >>> Indeed, openrsync on OpenBSD (7.6 and 7.6) don=E2=80=99t have a = >=E2=80=9C=E2=80=94dirs=E2=80=9D option, >>> which seems to only be used with the -r option. >>=20 >> You mean 7.6 and 7.7. I guess. > > Yes, I meant both 7.6 and 7.7 > >>> Seems odd that openrsync (on Apple) -> openrsync (on OpenBSD) = > wouldn=E2=80=99t work, >>> but who knows what Apple has done to this under the hood
https://github.com/apple-oss-distributions/rsync/tree/main/openrsync >> Apparently, the apple (open)rsync has a -d (--dirs) option, >> so it's not the OpenBSD openrsync. > > Yes, clearly, despite the man page calming this is openrsync written by = > krist...@bsd.lv <mailto:krist...@bsd.lv>. . . It started off as that, but has a lot of modifications. openrsync in OpenBSD is missing a lot from the original GPL rsync - some basic things work but many features are not supported (some obvious like flags - some less obvious like the protocol version from the first GPLv3 release of rsync which added incremental filelist generation, which gave a big reduction in memory footprint when fetching large dir structures) openrsync in macos has had more added (and when used as a client, depends on some of those added things being present on the remote side, i.e. won't talk nicely to openbsd openrsync), though is still missing a lot (including the incremental protocol). For macos<>openbsd i'd recommend either using recent GPL rsync on both sides, or openrsync on the macos side<>GPL rsync on the OpenBSD side. If you're fetching from public servers, especially large trees, it's friendlier to the server operator to use GPL rsync.