.tgz? How do I go about extracting them?

1999-07-27 Thread Revenant
There's a very complex method listed in my Running Linux book.  But,
given the rate at which Linux is evolving, pretty old.

Is there a easier, newer way than that convoluted string piping from
gzip to tar etc. ?

Thanx.

-- Revenant [EMAIL PROTECTED] ---
The whole principle is wrong; it's like demanding that grown men live
on skim milk because the baby can't eat steak.
- author Robert A. Heinlein on censorship.


Re: .tgz? How do I go about extracting them?

1999-07-27 Thread Stephan Engelke
Hi,

On Tue, Jul 27, 1999 at 09:41:18PM +1000, Revenant wrote:
 There's a very complex method listed in my Running Linux book.  But,
 given the rate at which Linux is evolving, pretty old.
 
 Is there a easier, newer way than that convoluted string piping from
 gzip to tar etc. ?

The gzip -dc filename.tar.gz | tar -xf - -Method is the generic way to go
about this task.  This works on  any Unix system.

If GNU tar is at hand, which is usually the case unter Linux, use the
-z-switch.  This processes the file with gzip first; it turns the
above command into

tar -xzf filename.tar.gz

Note that gzip understands both .gz-files (of course) and older .Z
(compress) files.

Newer versions of GNU tar (1.12) also support bzip2 compressed files (.bz2)
with the -I switch.

So long -- Stephan
-- 
Stephan Engelke[EMAIL PROTECTED]
   *** If only women came with pulldown menus and online help. ***


Re: .tgz? How do I go about extracting them?

1999-07-27 Thread Tim Nicholas

On Tue, Jul 27, 1999 at 09:41:18PM +1000, Revenant wrote:
 There's a very complex method listed in my Running Linux book.  But,
 given the rate at which Linux is evolving, pretty old.
 
 Is there a easier, newer way than that convoluted string piping from
 gzip to tar etc. ?
 
 Thanx.

Personally i just type 'extract file' but i am farely sure that i got that 
program from a friend a while back rather than with debian. 

If you want it then feel free to email me and i can send it to you. 
I dont that it does bz2 however so it helps to know the tar swiches anyway (of 
course).



-- 

Tim Nicholas
[EMAIL PROTECTED]   ICQ# 15869961
http://www.albatross.co.nz/~tubby

Let the frantic Goddess and delerious drunk cry together in shadow for the 
puppys sad stare, the forest and the death of the moon.


Re: .tgz? How do I go about extracting them?

1999-07-27 Thread Matthias Murra
Is there a easier, newer way than that convoluted string piping from
gzip to tar etc. ?

Given you have a not-too-old version of tar, cd-ing to the directory
you would like to have the contents of the tar file extracted to, and
entering

  tar xzvf tar file

should do the job. But then again, what's wrong with piping? It's the
Unix way to do things ;-), and if your version of tar does not understand
the z option, it might just as well be the best.

Greets,
Matt

--
Divide by cucumber error. Reinstall universe and reboot.


Re: .tgz? How do I go about extracting them?

1999-07-27 Thread Gerhard Kroder
Revenant wrote:
 
 There's a very complex method listed in my Running Linux book.  But,
 given the rate at which Linux is evolving, pretty old.
 
 Is there a easier, newer way than that convoluted string piping from
 gzip to tar etc. ?

well, tgz is (supposed to be) a gzip'ed (i.e. compressed) tar (i.e. tape
archive) file. it's very eays to pipe. but on recent linux systems like
debian you just do a tar xvzf file.tgz, and everything's fine (gnu tar
knows about compression), unless it's a bad package! if you are not very
shure about it's contens you should take a look at it's contents with tar
tzf file.tgz.  or you could run seperat a gunzip and a tar command. see
man tar rsp. man gzip.

gerhard


Re: .tgz? How do I go about extracting them?

1999-07-27 Thread Bob Nielsen
On Tue, Jul 27, 1999 at 09:41:18PM +1000, Revenant wrote:
 There's a very complex method listed in my Running Linux book.  But,
 given the rate at which Linux is evolving, pretty old.
 
 Is there a easier, newer way than that convoluted string piping from
 gzip to tar etc. ?

The later versions of tar support the -z option, so you don't need to
use piping: 

tar xvzf filename.tar.gz
tar xvzf filename.tgz

both work.

Bob

-- 
Bob Nielsen Internet: [EMAIL PROTECTED]
Tucson, AZ  AMPRnet:  [EMAIL PROTECTED]
DM42nh  http://www.primenet.com/~nielsen


Re: .tgz? How do I go about extracting them?

1999-07-27 Thread Carl Mummert

One issue with all this is that the GNU tools are vastly superior 
to older ones (in terms of extra functionality) but most people
never have the misfortune to have to use other unix systems that
don't have them.

Imagine tar without the 'z' option, find with only 'name' as a predicate,
and so on.  

While some people complain about the command line, it is several times
worse on other systems which use the more traditional tools.

Carl


Re: .tgz? How do I go about extracting them?

1999-07-27 Thread John Galt

tar xvzf bleah

GNU tar has support for Gzip as a flag (the z).  What I used was tar, 
extract, verbose, gzip compressed, file bleah

On Tue, 27 Jul 1999, Revenant wrote:

 There's a very complex method listed in my Running Linux book.  But,
 given the rate at which Linux is evolving, pretty old.
 
 Is there a easier, newer way than that convoluted string piping from
 gzip to tar etc. ?
 
 Thanx.
 
 -- Revenant [EMAIL PROTECTED] ---
 The whole principle is wrong; it's like demanding that grown men live
 on skim milk because the baby can't eat steak.
 - author Robert A. Heinlein on censorship.
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 

The Internet must be a medium for it is neither Rare nor Well done!
a href=mailto:[EMAIL PROTECTED]John Galt /a


Re: .tgz? How do I go about extracting them?

1999-07-27 Thread Nate Duehr
If you're using GNU tar (Linux), check out the -z option. 

I use tar -xzvf which will un-gzip (is that a word?) and untar at the
same time.  Your example probably shows tar xvf anyway, so just add the z.  

Check out the man page for the rest of 'em.

+---++
| Nate Duehr - [EMAIL PROTECTED]| Support Amateur Radio  Linux! |
| Private Pilot, Telephony Engineer |  Ham Callsign: N0NTZ   |
| UNIX Hack, Perl Hack, Tech-Freak  |  Grid Square: DM79 |
|   | May the Source be with you.  |
+---++
| HamRadio and Linux mailing lists available for interested parties: |
|http://www.natetech.com/mailman/listinfo|
++

On Tue, 27 Jul 1999, Revenant wrote:

 There's a very complex method listed in my Running Linux book.  But,
 given the rate at which Linux is evolving, pretty old.
 
 Is there a easier, newer way than that convoluted string piping from
 gzip to tar etc. ?
 
 Thanx.
 
 -- Revenant [EMAIL PROTECTED] ---
 The whole principle is wrong; it's like demanding that grown men live
 on skim milk because the baby can't eat steak.
 - author Robert A. Heinlein on censorship.
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null