order transfers by file size

Felipe Alvarez felipe.alvarez at gmail.com
Thu Apr 9 14:27:55 GMT 2009

From: "Yan Seiner" <yan at seiner.com>
To: "Victoria Muntean" <vikimun at gmail.com>
Date: Wed, 8 Apr 2009 08:32:38 -0700 (PDT)
Subject: Re: order transfers by file size

On Wed, April 8, 2009 8:19 am, Victoria Muntean wrote:
> Is it possible to have rsync order transfers by file size (smallest
> files first) ?

> Ooooh, I like that.  I have a client that has a bad habit of creating  a
> 5GB zipfile, that, of course, fails to rsync across 3,000 miles.  Since
> it's a zip file, rsync can't diff the old and new versions; it ends up
> trying to send the whole thing and the connection just isn't reliable
> enough.  It would be nice to be able to transfer everything else first.

> As long as we're on that topic, a size limit on file size to be
> transferred would be nice.
If you are on Unix or GNU, you can try "split" command and break up
your 5GB into 500MB chunks. Reassemble them with "cat" when transfer
is (are) complete.


More information about the rsync mailing list