(fwd from email@example.com) rsync: Request for a feature
mbp at samba.org
Mon May 3 00:55:38 GMT 2004
----- 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
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
All files must keep the original names unchanged.
export RSYNC_COMPRESSED_EXTS=".gz .zip ..." ;# Extensions from files
not to be compressed
rsync -av --delete --zip MyDir/ BackupDir
rsync -av --delete --unzip BackupDir/ MyDir
This is only a sugestion. You may find a better solution.
Paulo da Silva
----- End forwarded message -----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/rsync/attachments/20040503/893f51ba/attachment.bin
More information about the rsync