Forum: Ruby Uncompress tar.gz

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
125aa997aecefa6ebd4431f9b89e0bed?d=identicon&s=25 Kless (Guest)
on 2008-10-18 20:05
(Received via mailing list)
Which is the best way to uncompress a 'tar.gz' file since Ruby?
Da55cb4e9c39184563cd068113e3568f?d=identicon&s=25 Adam Penny (adampenny)
on 2008-10-18 20:14
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]?
Da55cb4e9c39184563cd068113e3568f?d=identicon&s=25 Adam Penny (adampenny)
on 2008-10-18 20:35
Kless wrote:
> Which is the best way to uncompress a 'tar.gz' file since Ruby?

The more I look at your message the more I suspect that you meant using
Ruby.

Check out this recipe at
http://my.safaribooksonline.com/0596523696/rubyckb... and
see if that helps.
125aa997aecefa6ebd4431f9b89e0bed?d=identicon&s=25 Kless (Guest)
on 2008-10-18 23:35
(Received via mailing list)
On 18 oct, 19:13, Adam Penny <adam_pe...@hotmail.com> 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:
125aa997aecefa6ebd4431f9b89e0bed?d=identicon&s=25 Kless (Guest)
on 2008-10-19 02:05
(Received via mailing list)
There is a great library, Facets [1], with many usefull methods and
that lets too compress/uncompress easily [2].


[1] http://facets.rubyforge.org/
[2] http://facets.rubyforge.org/quick/rdoc/more/classe...
This topic is locked and can not be replied to.