--files-from standard input

Matt McCutchen matt at mattmccutchen.net
Mon Oct 20 19:12:14 GMT 2008


On Mon, 2008-10-20 at 14:27 -0400, Ming Zhang wrote:
> If rsync gets files from standard input, when it starts to process that
> file, immediately or read until EOF, or somewhere in between?
> 
> For example, if a list is generated slowly but continuously and keep
> feeding to rsync, will rsync wait a very long time before ever handling
> the first file?

Rsync reads until EOF because it needs to sort the list before handling
the (alphabetically) first file.

Matt



More information about the rsync mailing list