On Wed, Apr 08, 2009 at 06:19:52PM +0300, Victoria Muntean wrote: > Is it possible to have rsync order transfers by file size (smallest > files first) ?
The only thing that is currently possible is to combine --min-size and --max-size to do multiple transfers with different ranges of file sizes. > Would it be a big patch ? As long as you're willing to disable the incremental file-list feature, someone could write a modified generator process that would either sort the files into a custom processing order (with all dirs needing to be sorted early in the list) without affecting the numbering of the files (which can be done in a similar way as the iconv support), or an easier approach would be to have the code internally perform multiple passes over the file-list and process/ignore files by ranges of size. The latter might be pretty simple by using the existing min/max size options and just adding an extra loop into the generator code (as well as disabling incremental recursion). This is not something I plan to write, though. ..wayne.. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html