Extract .tar.bz2 with ruby

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

Hello,

Use the Win32API and the libbz2.dll

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


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

Quoting [email protected]:

On 08/06/07, [email protected] [email protected] 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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs