PDA

View Full Version : uncompressing .tar.gz files


uniprosper
01-11-1999, 05:20 PM
Hi,

I wonder if anyone knows of any program that can uncompress .tar.gz files.

I have a few ASCII text files inside the archive that I'd like to open seperately. But when I use WinZip to open this file, it puts the entire archive into one file, so all the text files get placed in just one file!

Does anyone know of any program that I can use to uncompress these types of files properly? Please let me know.

Thanks,
Lee.

------------------
=========================
http://www.uniprosper.com
=========================
"If at first you don't succeed,
call it Version 1.0"

Del
01-11-1999, 06:38 PM
Check out download.com and search for PKZip and PKUnzip. Other that winzip, that's the only other archive type program I've used.

Also, I'm afraid I don't quite understand your problem... What do you mean by 'they all get placed in one file'? Do you mean they all end up in one directory, or are they literally being appended to one single file?

You can also extract files one at a time with winzip, just highlite the one you want out, and hit extract. It'll suck that single file out to where you specify.

Hope this helps



------------------
Del
www.downinit.com (http://www.downinit.com)

I use ta couldnt even spell student, n now I are one!

Terra
01-11-1999, 07:13 PM
Two Words: Windows Commander

It has a built in VFS (Virtual FileSystem) layer to handle 'tarballs'...

www.ghisler.com (http://www.ghisler.com)

Worth every penny!

--
Terra
--Promoting Orthodox File Managers--
FutureQuest

pqwabbit
01-11-1999, 09:21 PM
hmmm I unzip those with winzip 6.03 hmmmm -
works for me Im not sure waht you mean by all one file?



------------------
Lea
Massachusetts Rabbit Rescue
www.RabbitRescue.org (http://www.RabbitRescue.org)
LJ Massey & Co.
http://www.massey.i-p-d.com/index.shtml

uniprosper
01-12-1999, 03:50 AM
What I mean by one file is that they literally all get appended to one file.

Let's say I had 3 files, with the names of:
1.txt
2.txt
3.txt

and they are all in the file text.tar.gz

When I open WinZip, the first thing it does is prompt me the name of the archive. I find that pretty strange. Shouldn't it already know that?

Anyway, I then type something like text.tar and when it loads up, ALL the files (1.txt,2.txt,3.txt) are put into one file called text.tar!

I then open text.tar with notepad or something, and I can read ALL the files in this one file. None of the files are seperated, just compressed into this one file.

Whatever I change the name to (text.tar), it always puts all the files into one.

Obviously this is really annoying when downloading an archive with lots of files and .exe files, as I just can't use them.

I'll check out that site you recommended Terra (Thanks!)

Thanks,
Lee.

------------------
=========================
http://www.uniprosper.com
=========================
"If at first you don't succeed,
call it Version 1.0"

meikel
01-12-1999, 04:20 PM
Hi,

the last tool I tried with statisfactory results was PowerZip available at http://www.powerzip.lco.net/

It's a free ZIP utility that can natively handle tar and gz files.

What is .tar.gz?
In fact there are two programs needed to make a .tar.gz file
1) tar
You create a tar-file that just contains all original files and places them in one single super-large file
2) gzip
Which compresses this tar-file with standard zip algorithm.

It is history of unix that gzip cannot create archives of multiple files. It just compresses a single file and adds the .gz extension. So to get something like zip, you need tar and gzip.

Use PowerZip to first unzip the tar-file from the .tar.gz and then open the tar-file with PowerZip and extract the single files.

Maybe WinZip works the same, but PowerZip is free and so I use PowerZip for that.

Greetings from Bonn, Germany
[nbsp][nbsp]Meikel Weber
http://www.meikel.com

Del at school
01-12-1999, 04:24 PM
Something I just remembered,

My WinZip would not un-archive *.tar.gz, *.tar.Z or *.tar files until I downloaded/installed PKZip and PKUnzip on the same system. Dunno why tho... weird things these computers.



------------------
Del
http://www.downinit.com

da da da

Jacob Stetser
01-15-1999, 05:09 PM
also... doing this on the command line in UNIX/Linux?

first-

gzip -d filename.tar.gz

then-

tar -xvf filename.tar

http://www.aota.net/ubb/smile.gif

lowriskjeff
01-08-2000, 07:59 PM
OK, the unzipping question seems to have been answered pretty well. How about zipping a file? I have a large file over on my old host that I want to gzip. I telneted in and created a .tar file with all the files that I want. Then I tried:

gzip filename.tar

And that zipped everything in the directory. I *just* want to gzip one file. Can anyone help me with the right switch?

thanks,
Jeff