DO NOT REPLY [Bug 4082] New: RFE: prioritize work by size (or other criteria)

samba-bugs at samba.org samba-bugs at samba.org
Tue Sep 5 19:20:55 GMT 2006


https://bugzilla.samba.org/show_bug.cgi?id=4082

           Summary: RFE: prioritize work by size (or other criteria)
           Product: rsync
           Version: 2.6.9
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: bill+samba at bfccomputing.com
         QAContact: rsync-qa at samba.org


initial idea:
  It would be great if rsync could copy files in increasing order of size.

why: 
  I was using rsync to backup and reload my remote server over a slow
connection and noticed that the really important stuff was being held up by
some very large stuff (.ISO's, etc) that did need to be copied back to the
server but wasn't urgent.  It occurred to me that the important stuff tended to
be small (mail files, homedir stuffs, html files) and the big stuff tended to
be unimportant.  So I wound up writing some scripts with 'find' to copy out the
big stuff, to a parallel tree, rsync the small files, then go back and copy up
the big stuff.  It would be swell if rsync could do the work for me.

something like:

  rsync --prioritize=[size,date,uid] --prioritize-order=[ascending,descending]

is a first approximation of a syntax.  I have no use for the other two criteria
myself, but one might as well generalize the idea.  I noticed an RFE to use
pregenerated transfer lists; I could accomplish the same task with a wrapper
script with those, so maybe that means the two requests could share some
plumbing.


-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the rsync mailing list