On Jul 12 14:55:22, [email protected] wrote:
> Just curious if anyone has been able to use rsync (with the -r option) on a
> macOS Sequoia machine to an OpenBSD machine.
I have the same problem.
> I’m asking because my (somewhat simple) rsync command started failing
> when openrsync started being used on macOS with:
>
> $ rsync --rsync-path=openrsync -a -e ssh local_path/. remote_host:/remote_path
> openrsync: unknown option --dirs
> [output of openrsync —help]
mac$ rsync -av -e ssh --rsync-path=openrsync dir/ remote:/tmp/dir/
fails for me the same way.
(BTW, why the dot in "local_path/." ?)
> Indeed, openrsync on OpenBSD (7.6 and 7.6) don’t have a “—dirs” option,
> which seems to only be used with the -r option.
You mean 7.6 and 7.7. I guess.
> Seems odd that openrsync (on Apple) -> openrsync (on OpenBSD) wouldn’t work,
> but who knows what Apple has done to this under the hood
Apparently, the apple (open)rsync has a -d (--dirs) option,
so it's not the OpenBSD openrsync.
Jan