Re: Uncompress tar.gz
- From: Kless <jonas.esp@xxxxxxxxxxxxxx>
- Date: Sat, 18 Oct 2008 14:32:48 -0700 (PDT)
On 18 oct, 19:13, Adam Penny <adam_pe...@xxxxxxxxxxx> wrote:
Kless wrote:
Which is the best way to uncompress a 'tar.gz' file since Ruby?
I'm not sure if I'm misunderstanding you, but wouldn't that be
tar xvzf [filename]?
Better using Ruby:
----------------
tgz_file = Zlib::GzipReader.new( File.open(file, 'rb') )
Minitar.unpack(tgz_file, 'tgz_file')
----------------
.
- Follow-Ups:
- Re: Uncompress tar.gz
- From: Kless
- Re: Uncompress tar.gz
- References:
- Uncompress tar.gz
- From: Kless
- Re: Uncompress tar.gz
- From: Adam Penny
- Uncompress tar.gz
- Prev by Date: Launch ruby script from Quicksilver
- Next by Date: Re: Using a result as a constant object?
- Previous by thread: Re: Uncompress tar.gz
- Next by thread: Re: Uncompress tar.gz
- Index(es):