On Friday, February 06, 2004 16:07, Bryan Murdock wrote: > On Fri, 2004-02-06 at 14:47, Ross Werner wrote: >> On Fri, 6 Feb 2004, Von Fugal wrote: >> >>> Another variation on the classic tar/ssh combo >>> >>> ssh remote tar -czf /path/name | tar -xzf >> >> Doesn't ssh already use compression when sending data? Or is >> gunzip preferable to ssh's compression? > > Only if you tell it to. I think the command line switch is > -c. From what I read ssh's compression is only a time saver > if you are on a slow modem link. I wonder if the above really > saves you any time either.
It's a trade-off between bandwidth and CPU time. If your CPU isn't very heavily loaded, and it's fast enough to run gzip at a reasonable speed, and if your link is slow enough, then this might save you time. If you're on, say, 100 MBit ethernet, though, forget the compression. It ends up being slower just about every time. ____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
