sorting files by size

Matt McCutchen matt at
Fri Dec 19 06:52:45 GMT 2008

On Tue, 2008-12-16 at 10:13 -0500, Sebastien Roy wrote:
> In this context, an option "--sort-by-size" would be very helpful to get
> the maximum number of files transfered before an interruption. "size"
> could be the actual file size, or the ammount of bytes that rsync intend
> to transfer.
> For now, I use
> rsync --max-size ...
> rsync --min-size ...
> To get small files sent first. But this requires scanning the
> directories twice.

You can join this enhancement request:


More information about the rsync mailing list