# Tar.gz and ruby?

**URL:** <https://www.ruby-forum.com/t/tar-gz-and-ruby/71697>\
**Category:** Ruby\
**Created:** [October 10, 2006, 9:44pm UTC](https://www.ruby-forum.com/t/tar-gz-and-ruby/71697 "2006-10-10T21:44:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![virgin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/f17d59/32.png) [@virgin](https://www.ruby-forum.com/u/virgin)\
**Post date:** [October 10, 2006, 9:44pm UTC](https://www.ruby-forum.com/t/tar-gz-and-ruby/71697/1 "2006-10-10T21:44:02Z")

</div>

hi  
I’ve started using ruby.How can I read “tar.gz” file without extracting?

---

<div class="post-metadata">

**Author:** ![virgin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/f17d59/32.png) [@virgin](https://www.ruby-forum.com/u/virgin)\
**Post date:** [October 10, 2006, 10:17pm UTC](https://www.ruby-forum.com/t/tar-gz-and-ruby/71697/2 "2006-10-10T22:17:04Z")

</div>

On 10/10/06, Tom G. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> hi  
> I’ve started using ruby.How can I read “tar.gz” file without extracting?

[http://raa.ruby-lang.org/project/minitar/](http://raa.ruby-lang.org/project/minitar/)

I think this is what the doctor ordered, I did not test it, but if you  
look  
at the authors this should be high quality code 🙂

HTH  
Robert

–  
The reasonable man adapts himself to the world; the unreasonable one  
persists in trying to adapt the world to himself. Therefore all progress  
depends on the unreasonable man.

- George Bernhard Shaw

---

<div class="post-metadata">

**Author:** ![virgin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/f17d59/32.png) [@virgin](https://www.ruby-forum.com/u/virgin)\
**Post date:** [October 10, 2006, 11:23pm UTC](https://www.ruby-forum.com/t/tar-gz-and-ruby/71697/3 "2006-10-10T23:23:13Z")

</div>

On 11/10/06 Tom G. said:

> hi  
> I’ve started using ruby.How can I read “tar.gz” file without extracting?

tar -ztf

Mike

---

<div class="post-metadata">

**Author:** ![virgin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/f17d59/32.png) [@virgin](https://www.ruby-forum.com/u/virgin)\
**Post date:** [October 11, 2006, 12:19pm UTC](https://www.ruby-forum.com/t/tar-gz-and-ruby/71697/4 "2006-10-11T12:19:48Z")

</div>

thanks man
