[PATCH] Batch-mode rewrite

Wayne Davison wayned at samba.org
Sat Jul 17 11:15:24 GMT 2004

On Fri, Jul 16, 2004 at 04:48:55PM -0400, Chris Shoemaker wrote:
> what's this part about standard input?

It reads the batch data from stdin (the current manpage says "list"
where it should say "batch data").  This is quite useful, as seen
in the example in the manpage:

    $ rsync --write-batch=batch -a /source/dir/ /adest/dir/
    $ ssh remote rsync --read-batch=- -a /bdest/dir/ <batch

That saves you from having to first copy the batch to the remote disk
before doing the update.  Works fine in my limited testing.


More information about the rsync mailing list