T
Tomas Fischer
Hi,
I have started using ruby.
A current task is to get a tar.gz file from internet and extract it.
I find the zlib class und so I can extract the downloaded file to
a .tar one.
How can I extract this file?
I found old postings on groups.google which use
Archive::Tar::Minitar. Is this still the way to handle tar file with
ruby,
or are there classes in standard lib?
What is the ruby-way: Install the extra package or call external program
tar (my ruby program is suggested to run only on Linux plattforms)?
Thanks,
Tomas
I have started using ruby.
A current task is to get a tar.gz file from internet and extract it.
I find the zlib class und so I can extract the downloaded file to
a .tar one.
How can I extract this file?
I found old postings on groups.google which use
Archive::Tar::Minitar. Is this still the way to handle tar file with
ruby,
or are there classes in standard lib?
What is the ruby-way: Install the extra package or call external program
tar (my ruby program is suggested to run only on Linux plattforms)?
Thanks,
Tomas