log rsync stats

Gabriel Gunderson gabe at gundy.org
Mon Oct 10 10:43:35 MDT 2005


On Mon, 2005-10-10 at 10:37 -0600, Wade Preston Shearer wrote:
> Re-reading it now, it kind of sounds like logs are written to  
> something called "stdout" and that you can redirect this to custom  
> files. What is stdout? and what would the syntax be?

kinda like this...

[gabe at wa ~]$ echo fish > file.txt
[gabe at wa ~]$ cat file.txt
fish

So just add a ">" to the rsync command and point it to a file that you
want it to write to and "stdout" will be redirected to that file.  Use a
">>" to append it to that file.

Gabe




More information about the PLUG mailing list