[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Extract .tar.bz2 with ruby

Peter.Meier998

6/8/2007 8:36:00 AM

Hi,

I need to extract the content of a tar.bz2 file with ruby.
I use ruby under in WinXP.
How do I do that?

Thanks
Peter

2 Answers

Pau Garcia i Quiles

6/8/2007 9:21:00 AM

0

Hello,

Use the Win32API and the libbz2.dll

http://www.rubycentral.com/book/...

--
Pau Garcia i Quiles
http://www.e...
(Due to the amount of work, I usually need 10 days to answer)



Quoting Peter.Meier998@gmx.de:

> Hi,
>
> I need to extract the content of a tar.bz2 file with ruby.
> I use ruby under in WinXP.
> How do I do that?
>
> Thanks
> Peter
>
>
>



Michal Suchanek

6/8/2007 11:14:00 AM

0

On 08/06/07, Peter.Meier998@gmx.de <Peter.Meier998@gmx.de> wrote:
> Hi,
>
> I need to extract the content of a tar.bz2 file with ruby.
> I use ruby under in WinXP.
> How do I do that?
>
>
There is also a library for tar manipulation (minitar?). Combined with
a bz2 decompression library (as suggested in other mail) it should do
the trick.

Thanks

Michal