From: bwv549 Date: 2008-09-16T04:27:48+09:00 Subject: Re: how to stream or write data into a tar.gz file as if the data were from files? > So why then do you say "without ever first writing out files"? I'm just trying to show that if I can stream out a tar file, then I can at least pipe it into gzip (on many OS's). So, I'm really stuck at making a tar file without actually having to write files to disk first. > And there is zlib which allows to read and write GZip streams.  So, if > ruby-tar allows to write into any stream you got your solution. I looked at ruby-tar (on your suggestion) but ruby-tar turns out to not have any write capabilities. So, I'm still looking deeper into archive-tar-minitar. I also found 'tarruby' (bindings to the C libtar library) in rubyforge but it seems more difficult to hack into than minitar. As pointed out, the difficulty here has been narrowed down to writing tar files without having to write files out to disk first. Sincere thanks for the suggestions.