(fwd from psdasilva@esoterica.pt) rsync: Request for a feature
Joe Batt
Joe at soliddesign.net
Mon May 3 12:05:27 GMT 2004
I currently do this with zlibc "Transparently access compressed files."
0.9e. The files are compressed on the disk, but appear uncompress to
all apps including rsync.
Joe
On Sun, 2004-05-02 at 19:55, Martin Pool wrote:
> ----- Forwarded message from Paulo da Silva <psdasilva at esoterica.pt> -----
>
> From: Paulo da Silva <psdasilva at esoterica.pt>
> Subject: rsync: Request for a feature
> Date: Sun, 02 May 2004 17:09:11 +0100
> To: mbp at samba.org
> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040317
> X-Spam-Status: No, hits=-0.9 required=3.2 tests=BAYES_10 autolearn=ham
> version=2.63
>
> Hi.
>
> 1st. of all thank you for mantaining this very useful program.
> It helps me a lot in a lot of tasks that would be otherwise very
> tedious and time consuming.
>
> However, I think that a small feature could make it yet more
> powerfull when used as a backup tool.
> The idea was to have a switch so that files could be kept
> compressed at the destination. These compressed files could
> be then restored the same way specifing a switch telling that
> source files are to be uncompressed.
> Files with known extensions (.gz, .zip, ...) should not be
> compressed/uncompressed.
> All files must keep the original names unchanged.
>
> Ex.
> export RSYNC_COMPRESSED_EXTS=".gz .zip ..." ;# Extensions from files
> not to be compressed
> Backup:
> rsync -av --delete --zip MyDir/ BackupDir
> Restore:
> rsync -av --delete --unzip BackupDir/ MyDir
>
> This is only a sugestion. You may find a better solution.
>
> Thank you.
> Paulo da Silva
>
> ----- End forwarded message -----
More information about the rsync
mailing list