Computing.Net > Forums > Unix > Combination of gunzip and tar

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

Combination of gunzip and tar

Reply to Message Icon

Original Message
Name: Dan
Date: November 20, 2003 at 11:50:27 Pacific
Subject: Combination of gunzip and tar
OS: Solaris
CPU/Ram: ?
Comment:

Hello

I'm trying to use a combination of gunzip and tar to unpack and unzip a *.tar.gz file. I tried gunzip ~/myfile.tar.gz | gtar -x

This will unzip the file, but it won't unpack. Any hints?

thanks a lot

Dan



Report Offensive Message For Removal


Response Number 1
Name: cha-to
Date: November 20, 2003 at 19:23:35 Pacific
Reply:

Cool, I've used tar but never seen "gtar" before, learned something new! Thanks! :)

Did a quick search and found this site

http://www.gzip.org/#faq6

says to use this:

gtar xvzf file.tar.gz

try that, maybe? There's another example in there too if that doesn't work for you - it uses gunzip and tar, not gtar.

D.O.


Report Offensive Follow Up For Removal







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home



Results for: Combination of gunzip and tar

gunzip and tar xvf????
    Summary: gunzip < filename.tar.gz | tar xvf - Have fun and enojoy life..... ...
www.computing.net/answers/unix/gunzip-and-tar-xvf/2857.html

find command and tar files
    Summary: Hi: 1. I have a list of files in a directory. This directory can contain a normal file or a tar file of the format *.tar.*, where * is wild character. Now to find out whether t...
www.computing.net/answers/unix/find-command-and-tar-files/5269.html

list of different lines in files
    Summary: I need help from anyone out there. I have three files (one about 400 lines, one about 13000 lines and one about 13450 lines). The two smaller files are included somewhere within the larger file, how...
www.computing.net/answers/unix/list-of-different-lines-in-files/5305.html








Which MP3 player do you have?

iPod/iPhone
Zune
Something Else
None


View Results

Poll Finishes Today.
Discuss in The Lounge
Poll History






Data Recovery Software