Uncompress tar.gz


#1

Which is the best way to uncompress a ‘tar.gz’ file since Ruby?


#2

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]?


#3

On 18 oct, 19:13, Adam P. removed_email_address@domain.invalid 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:


#4

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/rubyckbk-CHP-12-SECT-10 and
see if that helps.


#5

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/classes/ZipUtils.html