大家好 - 我正在使用 rsync 从我的 mac 备份到运行 linux 的文件服务器,我看到以下错误:
rsync -e ssh -vaxE --delete --ignore-errors 192.168.1.3:/bkup/mac/Users/dave/ /Users/dave/Desktop/dave
dave@192.168.1.3's password:
rsync: on remote machine: --extended-attributes: unknown option
rsync error: syntax or usage error (code 1) at main.c(1441) [server=3.0.5]
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at /SourceCache/rsync/rsync-37.3/rsync/io.c(452) [receiver=2.6.9]
Run Code Online (Sandbox Code Playgroud)
... 足够清楚的错误,但是 -v 显示了两台机器的以下内容:
MAC(客户端/本地):
rsync version 2.6.9 protocol version 29
...
Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles, …Run Code Online (Sandbox Code Playgroud)