Author |
Message
|
jeevan |
Posted: Fri Feb 10, 2006 7:05 am Post subject: unix help |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
how guys,
how to extract a file whic has .tar.Z extension
thanks
jeevan |
|
Back to top |
|
 |
JT |
Posted: Fri Feb 10, 2006 7:11 am Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
uncompress xxxxxxx.tar.Z
followed by:
tar -xvf xxxxxxx.tar |
|
Back to top |
|
 |
BenR |
Posted: Fri Feb 10, 2006 7:39 am Post subject: |
|
|
Acolyte
Joined: 31 Jan 2006 Posts: 60 Location: Hursley, UK
|
I think tar -xvzf also works. |
|
Back to top |
|
 |
wschutz |
Posted: Fri Feb 10, 2006 7:48 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
I think only gnu's tar supports the -z flag, but I might be wrong .....
This should always work:
uncompress -c xxx.tar.Z | tar xv _________________ -wayne |
|
Back to top |
|
 |
HubertKleinmanns |
Posted: Fri Feb 10, 2006 8:38 am Post subject: |
|
|
 Shaman
Joined: 24 Feb 2004 Posts: 732 Location: Germany
|
As far as I know, GNU tar has an option z to (un)compress with the gzip algorithm and Z to (un)compress with the compress algorithm. _________________ Regards
Hubert |
|
Back to top |
|
 |
jeevan |
Posted: Fri Feb 10, 2006 10:18 am Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
it worked as
uncompress
tar - xvf
thanks |
|
Back to top |
|
 |
csmith28 |
Posted: Fri Feb 10, 2006 6:34 pm Post subject: |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
jeevan, stop posting OS Related questions in WMQSeries Forums. I'm getting tired of moving your threads. _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
Back to top |
|
 |
jeevan |
Posted: Sun Feb 12, 2006 2:34 pm Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
|
Back to top |
|
 |
|