Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: Parse a tar.gz file without unzipping and uncompressing unzipping?

by ctilmes (Priest)
on Dec 06, 2010 at 14:13 UTC ( #875615=note: print w/replies, xml ) Need Help??


in reply to Re^2: Parse a tar.gz file without unzipping and uncompressing unzipping?
in thread Parse a tar.gz file without unzipping and uncompressing unzipping?

my $pipecmd = "zcat $file | tar  -O -xf -"; # -O, extract files to standard output

Your tar may even have support for uncompressing built in, look for the tar option "-Z" for uncompress and "-z" for unzip.

  • Comment on Re^3: Parse a tar.gz file without unzipping and uncompressing unzipping?
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://875615]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2016-10-01 22:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?






    Results (9 votes). Check out past polls.