Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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?

Replies are listed 'Best First'.
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?
[marto]: erix unlikely, we've had posts within the last few minutes ;)
[ambrus]: nysus: make sure you enter at least two lines for the title and then preview, and read warnings the preview form prints
[davies]: There is an option (I have it set) to force preview before submission. Perhaps your option has been set (accidentally?) and you are not expecting it.
[ambrus]: sorry, I mean at least two words for the title and then preview
[ambrus]: davies: that option is the default. and it's not really "force", it just hides the button.
[marto]: yes, not reading the errors displayed has been a cause of this type of report in the past
[nysus]: Ambrus, ah. I think that was the problem. I'll try. Thanks!
[davies]: Ambrus: you've missed it by a couple of weeks, but consider next year's London Perl Workshop.

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (12)
As of 2017-12-15 11:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (431 votes). Check out past polls.

    Notices?