我正在尝试将内容从本地计算机(64 位 Windows 7)同步到远程服务器(64 位 Ubuntu 8),但它失败了。任何建议都非常受欢迎,因为我已经花了太多时间在这个废话上......提前致谢!
$ ls -al
total 3
drwxr-xr-x 4 www www 4096 Jun 7 11:04 .
drwxr-xr-x 5 www www 4096 Jun 7 13:13 ..
drwxr-xr-x 7 www www 0 Jun 7 11:04 release-20110607110404
$ rsync -avz ./release-20110607110404/ www@web1:/home/www/
opening connection using: ssh -l www web1 rsync --server -vvlogDtprze.iLsf . /home/www/
select: Bad file number
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(610) [sender=3.0.8]
$ rsync --version
rsync version 3.0.8 protocol version 30
Copyright (C) 1996-2011 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
Capabilities:
64-bit files, 64-bit inums, 32-bit timestamps, 64-bit long ints,
socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,
append, ACLs, no xattrs, iconv, symtimes