Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

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

by rizzy (Sexton)
on Dec 04, 2010 at 00:51 UTC ( #875304=note: print w/ replies, xml ) Need Help??


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

Illuminatus, I WAS initially using Archive::Extract, but had to switch for a couple of reasons. I am on windows (because I can't convince the unix admin to allow me to store these files on the server) and since there is no bin/tar for windows, I have to use perl to do the unzipping which requires system memory. So much memory is required, that I get an "out of memory" error when extracting.

Anyway, the files are all different in each archive.


Comment on Re^4: Parse a tar.gz file without unzipping and uncompressing unzipping?
Re^5: Parse a tar.gz file without unzipping and uncompressing unzipping?
by furry_marmot (Pilgrim) on Dec 04, 2010 at 23:46 UTC

    I've been using Cygwin for little things like this for years. Tar, gzip, zip, bzip2, etc., all work as expected from a normal Shell window (aka DOS window). If you have gzip or other compression installed, tar will support it natively, saving you some piping.

    If you want to avoid Cygwin and/or get as much performance as possible, you can also get non-Cygwin, native ports of common linux/unix utilities here.

    --marmot

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2014-07-14 05:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (255 votes), past polls