大家好-我正在使用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]
...清除了足够的错误,但是-v在两台计算机上显示以下内容:
MAC(客户端/本地):
rsync version 2.6.9 protocol version 29
...
Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles,
inplace, IPv6, 64-bit system inums, 64-bit internal inums
LINUX(服务器/远程):
rsync version 3.0.5 protocol version 30
...
Capabilities:
64-bit files, 64-bit inums, 32-bit timestamps, 64-bit long ints,
socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,
append, ACLs, xattrs, iconv, symtimes
...因此,鉴于Linux机顶盒说它支持xattrs,为什么它会抱怨Mac要求扩展属性?
FWIW Mac正在运行OS X 10.6.1&服务器正在运行Ubuntu 2.6.28-15-generic-两台计算机都运行了最新的标准软件包(默认情况下,双方均未安装特殊版本的rsync) 。
任何见解赞赏:-)