Max number of files to transfer

Wayne Davison wayned at
Thu Jul 6 22:11:54 GMT 2006

On Thu, Jul 06, 2006 at 01:59:54PM -0400, Bob Bagwill wrote:
> You probably already considered this, but you could also do something
> like this: [...]

That divides the entire file-list up into 50-file chunks, whereas I
believe that the original poster wanted to allow 50 differing files to
be updated before quitting (out of 50+N files checked for being

If the file-system scan is not the limiting factor that is slowing
things down, then running rsync with --dry-run could be used to output a
list of the files that need to be updated, and then that list could be
divided into groups of 50 and iterated over.


More information about the rsync mailing list