How to capture the stderr of rsync and redirect it into a file?
hongyi.zhao at gmail.com
Wed Apr 15 05:32:23 MDT 2015
See the following commands:
werner at debian:~$ rsync -c ftp.cn.debian.org::debian/ 2 >aaa
rsync: The server is configured to refuse --checksum (-c)
rsync error: requested action not supported (code 4) at clientserver.c
rsync: read error: Connection reset by peer (104)
rsync error: error in socket IO (code 10) at io.c(785) [Receiver=3.1.2dev]
Why rsync cann't let me redirect the stderr of it into a file, say, aaa,
for this case?
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
More information about the rsync