From: Joachim Glauche Date: 2008-03-11T02:55:35+09:00 Subject: Re: Getting files out of a .tar.gz archive celldee wrote: > I saw that, but I don't want to expand the .tar.gz any more than I > have to. The code that I put up earlier is getting what I want out of > the .tar file using Minitar::Reader which I quite like, I'm just > looking to eliminate the gunzip step. If packed with Gzip, you always have to unpack it in order to read the content. Tar is the container and Gzip does the compression. So the files in a tar.gz file are first put into a container then packed. So in order you read anything inside the tar you have to unpack the file to have access the tarball to read your file inside. -- Posted via http://www.ruby-forum.com/.