How to capture the stderr of rsync and redirect it into a file?

Hongyi Zhao hongyi.zhao at gmail.com
Wed Apr 15 06:58:21 MDT 2015


On Wed, 15 Apr 2015 14:39:10 +0200, Heiko Schlittermann wrote:

> Because you didn't tell.
> 
>     … 2>aaaa
> 
> Note the missing space between die file descriptor and the redirection
> operator.

Then, why the following one will work, i.e., use a space between the 
redirection operator and the logfile:

… 2> aaaa

Regards
-- 
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.



More information about the rsync mailing list