作者pig (欢迎加入猪头党)
看板FreeBSD
标题Re: rsync无法使用--iconv
时间Thu Aug 25 17:12:54 2011
※ 引述《sexyfeng (pulaman)》之铭言:
: 各位先进好,小弟最近利用rsync进行异地备份时发生了一些问题,
: 烦请各位先进协助解答一下。
: 1.执行rsync时,会有错误讯息出现,不知是否为正常?或漏掉那些设定?
: Use "rsync --daemon --help" to see the daemon-mode command-line options.
: Please see the rsync(1) and rsyncd.conf(5) man pages for full documentation.
: See http://rsync.samba.org/ for updates, bug reports, and answers
: rsync error: syntax or usage error (code 1) at main.c(1420) [client=3.0.8]
: 2.当我执行/usr/local/bin/rsync -CaP --iconv=big5,utf8 --delete
: --password-file=/usr/local/etc/rsyncd.secrets .....之指令时,却出现以下错误。
: 可是明明rsync 3.X就有支援iconv的参数(man page写的),为何还会错误呢?
: rsync: --iconv=big5,utf8: unknown option
: rsync error: syntax or usage error (code 1) at main.c(1435) [client=3.0.8]
: 以上两个问题,烦请先进协助,感谢!
用 port 重编一个,iconv 选项要打开
cd /usr/ports/net/rsync
make config
--
Do you hear the people sing? Singing a song of Angry Birds.
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.112.42.22