on Tue, Jan 02, 2001 at 05:04:13AM -0900, Ethan Benson (erbenson@alaska.net) wrote: > On Tue, Jan 02, 2001 at 08:27:05AM -0500, David B. Harris wrote: <...> > here is a fun trick: > > tar cf - / | ssh -C host 'cd /mnt; tar -xf -' > > ssh -C enables compression which is think is default anyway. gzipping > before going over ssh compression is redunant and unlikely to gain all > that much. <g> I also like piping through ssh. Versatile. WRT compression: data compression works by reducing the redundancy in data. Given a pefect compression algorithm, there is no redundancy left. Actual algorithm's aren't perfect, but they're generally close. So, compressing compressed data is a waste of cycles. Doesn't particularly matter where you put the compression stage, though if you let ssh compress, the decompression is handled automagically on the receiving end. -- Karsten M. Self <kmself@ix.netcom.com> http://kmself.home.netcom.com/ Evangelist, Zelerate, Inc. http://www.zelerate.org What part of "Gestalt" don't you understand? There is no K5 cabal http://gestalt-system.sourceforge.net/ http://www.kuro5hin.org
Attachment:
pgplgxrlQCy3_.pgp
Description: PGP signature