[comp.unix.misc] use of *.Tar.Z

NU142696@NDSUVM1.BITNET (03/05/91)

If you know how to make or unpack the *.tar.Z files, please send me some
information. Thank you very much.

hendrik@cca.vu.nl (Hendrik te Winkel) (03/05/91)

NU142696@NDSUVM1.BITNET writes:

>If you know how to make or unpack the *.tar.Z files, please send me some
>information. Thank you very much.

Let's presume you have a file called filename.tar.Z
Then type:
uncompress filename.tar
	#gives you filename.tar
tar xvf filename.tar
	#gives you the files from the archive

Or alternatively:
zcat filename.tar | tar xf -
which does the same.

Hendrik
-- 
Hendrik te Winkel hendrik@cca.vu.nl
	I don't want no one crying, or feeling sad,
	or standing in the rain without their hat.
	- Chi Coltrane.

gilbertd@p4.cs.man.ac.uk (Dave Gilbert) (03/05/91)

NU142696@NDSUVM1.BITNET writes:

>If you know how to make or unpack the *.tar.Z files, please send me some
>information. Thank you very much.

You can uncompress them, using compress, and then use tar on the uncompressed
file - alternativly use gnu tar which has a command line flag for uncompressing
(I think it just pipes it through compress first)

Dave
-- 
-------------------------------------------------------------------------------
- Dave Gilbert - gilbertd@p4.cs.man.ac.uk - The MTBF of a piece of equipment  -
-                G7FHJ@GB7NWP             - is inversly proportional to its   -
------------------------------------------- importance                        -

edw@sequent.UUCP (Ed Wright) (03/06/91)

In article <91063.211126NU142696@NDSUVM1.BITNET> NU142696@NDSUVM1.BITNET writes:
%If you know how to make or unpack the *.tar.Z files, please send me some
%information. Thank you very much.

try zcat  or uuencode
then use tar to extract the unpacked archive
-- 
 I think I've got the hang of it now .... :w  :q  :wq  :wq! ^d  X exit
 X Q  :quitbye  CtrlAltDel   ~~q  :~q  logout  save/quit :!QUIT ^[zz
 ^[ZZ ZZZZ  ^H  ^@  ^L  ^[c  ^# ^E ^X ^I ^T  ?  help  helpquit ^D  ^d
 ^C ^c helpexit ?Quit ?q  decwrl or uunet or tek !sequent!edw 

hamilton@kickapoo.cs.iastate.edu (Jon Hamilton) (03/06/91)

edw@sequent.UUCP (Ed Wright) writes:

>In article <91063.211126NU142696@NDSUVM1.BITNET> NU142696@NDSUVM1.BITNET writes:
>%If you know how to make or unpack the *.tar.Z files, please send me some
>%information. Thank you very much.

>try zcat  or uuencode
>then use tar to extract the unpacked archive
>-- 
zcat perhaps, but uuencode?  .Z indicates a compressed file.  the most
obvious way to uncompress it is...with uncompress!  after you're done with
that, then you can untar it using tar...

> I think I've got the hang of it now .... :w  :q  :wq  :wq! ^d  X exit
> X Q  :quitbye  CtrlAltDel   ~~q  :~q  logout  save/quit :!QUIT ^[zz
> ^[ZZ ZZZZ  ^H  ^@  ^L  ^[c  ^# ^E ^X ^I ^T  ?  help  helpquit ^D  ^d
> ^C ^c helpexit ?Quit ?q  decwrl or uunet or tek !sequent!edw 
--
         Jon Hamilton
         hamilton@kickapoo.cs.iastate.edu
         " I feel a lot more like I do now that I did before I got here "
		- can't remember who

emv@ox.com (Ed Vielmetti) (03/06/91)

In article <91063.211126NU142696@NDSUVM1.BITNET> <NU142696@NDSUVM1.BITNET> writes:

   If you know how to make or unpack the *.tar.Z files, please send me some
   information. Thank you very much.

with gnu tar you can say
	tar -ztvf file.tar.Z
and the -z option will uncompress for you.  handy that.

-- 
 Msen	Edward Vielmetti
/|---	moderator, comp.archives
	emv@msen.com

jpm@logixwi.UUCP (Jan-Piet Mens @ Logix GmbH, Wiesbaden) (03/06/91)

In article <91063.211126NU142696@NDSUVM1.BITNET> NU142696@NDSUVM1.BITNET writes:
>If you know how to make or unpack the *.tar.Z files, please send me some
>information. Thank you very much.


To unpack the files:
	$ zcat file.tar | tar xvf -
   or   $ zcat file.tar.Z | tar xvf -

To create:
	$ tar cvf file.tar *				# creates file.tar
	$ compress file.tar				# creates file.tar.Z

-- 
Jan-Piet Mens, Logix GmbH				    jpm@logixwi.UUCP
Moritzstr. 50, D-6200 Wiesbaden            ...!uunet!mcsun!unido!logixwi!jpm

edw@sequent.UUCP (Ed Wright) (03/07/91)

In article <hamilton.668214360@kickapoo.cs.iastate.edu> hamilton@kickapoo.cs.iastate.edu (Jon Hamilton) writes:
%edw@sequent.UUCP (Ed Wright) writes:
%
%>In article <91063.211126NU142696@NDSUVM1.BITNET> NU142696@NDSUVM1.BITNET writes:
%>%If you know how to make or unpack the *.tar.Z files, please send me some
%>%information. Thank you very much.
%
%>try zcat  or uuencode
%>then use tar to extract the unpacked archive
%>-- 
%zcat perhaps, but uuencode?  .Z indicates a compressed file.  the most
%obvious way to uncompress it is...with uncompress!  after you're done with
%that, then you can untar it using tar...
 Well, They both start with the same letter, Now dont they ?!
Mea Culpa, Mea Culpa, Mea Culpa, Mea Maxima Culpa, 
I have never ever made a mistake!
I thought I might have once , but I was wrong.

Go forth and uncompress

-- 
 I think I've got the hang of it now .... :w  :q  :wq  :wq! ^d  X exit
 X Q  :quitbye  CtrlAltDel   ~~q  :~q  logout  save/quit :!QUIT ^[zz
 ^[ZZ ZZZZ  ^H  ^@  ^L  ^[c  ^# ^E ^X ^I ^T  ?  help  helpquit ^D  ^d
 ^C ^c helpexit ?Quit ?q  decwrl or uunet or tek !sequent!edw 

daniel@island.COM (Daniel Smith) (03/09/91)

In <EMV.91Mar5185637@poe.aa.ox.com> emv@ox.com (Ed Vielmetti) writes:

> In article <91063.211126NU142696@NDSUVM1.BITNET> <NU142696@NDSUVM1.BITNET> writes:

>    If you know how to make or unpack the *.tar.Z files, please send me some
>    information. Thank you very much.

	generally, it is:

	zcat somefile.tar.Z | tar xvf -

	or:

	rsh some machine zcat somefile.tar.Z | tar xvf -

			:-)

			Daniel
-- 
daniel@island.com       Daniel Smith, Island Graphics, (415) 491 0765 x 250(w)
daniel@world.std.com      4000 CivicCenterDrive SanRafael MarinCounty CA 94903
dansmith@well.sf.ca.us      Fax: 491 0402 Disclaimer: Hey, I wrote it, not IG!
The US: 5% of the population, but 66% of the world's lawyers...