On Wed, Feb 07, 2007 at 05:19:16PM +0100, LORAND Beno?t wrote: > I have written a little script that's would email me all errors. > rsync -vah --delete --stats <sources> <destination> > > /var/log/sauvegarde/listoffile.log 2> /var/log/sauvegarde/errors.log > > My problem is i want to have the stats in my mail. Is it possible to > redirect --stats to STDERR.
Since you're using 2.6.9, try using --log-file=FILE for the list of changed files (instead of using -v), and then email the entire output of stdout and stderr combined. ..wayne.. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html