[Bug 2296] New: Idea: transparently uncompress .gz and .bz2 files before synchronizing.

samba-bugs at samba.org samba-bugs at samba.org
Wed Feb 2 02:17:32 GMT 2005


           Summary: Idea: transparently uncompress .gz and .bz2 files before
           Product: rsync
           Version: 2.6.3
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: rsync at richardneill.org
         QAContact: rsync-qa at samba.org

Here's an idea that occurred to me, which I think might make a useful feature:
If one is synchronizing a .gz or.bz2 file via rsync, then this is very
inefficient. Why not transparently unpack it before synchronizing?

According to Google, this was discussed previously in 2001, but perhaps it may
be worth bringing this up again? A quick measurement I did shows that
uncompressing the file before transfer gives an improvement of a factor of 10.
[.tar.bz2 files synchronize fairly efficiently over rsync if most of the archive
contents are unaltered. However, if the archive files all contain many small
changes (e.g. a database dump), the synchronzation is little better than scp.]

Yes, I do know that the real solution is not to use rsync to transfer compressed
files in the first place. So this is just a nice idea (to transparently do the
most obvious thing) rather than a suggestion of great importance.

Thanks very much,


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