Forum: Ruby Extract .tar.bz2 with ruby

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.
33b18815ae674e4c3843ecb6e73b3f21?d=identicon&s=25 unknown (Guest)
on 2007-06-08 10:41
(Received via mailing list)
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
5acffb3fde70f28b9eab13eb78a25e63?d=identicon&s=25 Pau Garcia i Quiles (Guest)
on 2007-06-08 11:21
(Received via mailing list)
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 Peter.Meier998@gmx.de:
F889bf17449ffbf62345d2b2d316a937?d=identicon&s=25 Michal Suchanek (Guest)
on 2007-06-08 13:14
(Received via mailing list)
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
This topic is locked and can not be replied to.