Complete.Org: Mailing Lists: Archives: discussion: June 1999:
Re: [aclug-L] Unzipping zip files with gzip...
Home

Re: [aclug-L] Unzipping zip files with gzip...

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: aclug-L@xxxxxxxxxxxx
Subject: Re: [aclug-L] Unzipping zip files with gzip...
From: Jeff <schaller@xxxxxxxxxxxxx>
Date: Tue, 8 Jun 1999 20:10:13 -0500 (CDT)
Reply-to: aclug-L@xxxxxxxxxxxx

On Tue, 8 Jun 1999, Patrick Klee wrote:

> How do I unzip zip files with gzip and unzip them into a folder
> I created?

Pattern         Program
-----------------------------
*.gz            gunzip or gzip -d
*.zip           unzip
*.tar           tar xf

Unless the files have been renamed (mv file.gz file.zip), the different
programs will be unable to uncompress other file types.

If you have a .tar file, you should investigate it first with
tar tf file.tar
to see if it holds a directory structure inside of it or not.  In either
case, if you have a situation like this:
~/file.tar.gz
~/subdir/

and you want the contents of file.tar.gz under subdir, do:
cd
gunzip file.tar.gz
cd subdir
tar xf ../file.tar

If this isn't clear, perhaps a specific example or question would help.
-jeff
-- 
If we don't take care of the customer, maybe they'll stop bugging us.
http://www.despair.com


[Prev in Thread] Current Thread [Next in Thread]