Xref: utzoo comp.unix.sysv386:3600 comp.unix.xenix.sco:1230 Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!att!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!usc!apple!altos!altos86!ti From: ti@altos86.Altos.COM (Ti Kan) Newsgroups: comp.unix.sysv386,comp.unix.xenix.sco Subject: Re: compression in Sco Unix tar Keywords: tar,compression Message-ID: <4521@altos86.Altos.COM> Date: 2 Jan 91 23:47:41 GMT References: <1990Dec30.071602.2786@rden> Reply-To: ti@altos86.UUCP (Ti Kan) Followup-To: comp.unix.sysv386 Organization: Altos Computer Systems, San Jose, CA Lines: 34 In article <1990Dec30.071602.2786@rden> rden@rden.gen.nz (Robert den Hartog) writes: > >How does one drive the compression in the new Sco Unix tar? strings tell's >me that it's there (references to compress and /usr/bin/compress) but the >manual pages don't mention compression at all. I don't really recommend using the compression "feature" of SCO tar, since that makes your tar archive relatively non-portable. However, if you insist, to create a tar archive, use: tar Cv ... Note the upper case 'C' flag instead of the usual lower case 'c'. To retrieve from a compressed archive, just retrieve normally with tar xv ... SCO tar will automatically determine that the archive is compressed, and will uncompress each file. If you want SCO tar to retrieve the files but leave them compressed, then do: tar Xv ... Note the upper case 'X'. Note that SCO probably didn't document the 'C' and 'X' options for a reason. so use these non-standard options at your own risk. -Ti -- Ti Kan | vorsprung durch technik! \\\ Internet: ti@altos.com \\\ UUCP: ...!{sun|sco|pyramid|amdahl|uunet}!altos!ti /// \\\ The opinions herein are not necessarily those of Altos. ////////\