Martin Pool
2004-May-03 00:55 UTC
(fwd from psdasilva@esoterica.pt) rsync: Request for a feature
----- Forwarded message from Paulo da Silva <psdasilva@esoterica.pt> ----- From: Paulo da Silva <psdasilva@esoterica.pt> Subject: rsync: Request for a feature Date: Sun, 02 May 2004 17:09:11 +0100 To: mbp@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 ----- -- Martin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://lists.samba.org/archive/rsync/attachments/20040503/893f51ba/attachment.bin
Joe Batt
2004-May-03 12:05 UTC
(fwd from psdasilva@esoterica.pt) rsync: Request for a feature
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@esoterica.pt> ----- > > From: Paulo da Silva <psdasilva@esoterica.pt> > Subject: rsync: Request for a feature > Date: Sun, 02 May 2004 17:09:11 +0100 > To: mbp@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 -----
Apparently Analagous Threads
- [LLVMdev] Using llvm command line functions from within a plugin?
- [LLVMdev] Using llvm command line functions from within a plugin?
- Request for a new feature
- Re: Shebang sh plugins (was: Re: [PATCH nbdkit v2 03/10] python: Implement nbdkit API version 2.)
- [LLVMdev] [PATCH] Add support for accessing the FS segment register on X86