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: John Alexander <john.alexander@xxxxxxxx>
Date: Wed, 09 Jun 1999 08:17:03 -0500
Reply-to: aclug-L@xxxxxxxxxxxx

There is also the the case where you will have a *.tgz, which can can be
compressed/untarred in the command (which may also work with *.tar.gz files,
but I can't say that I have personally tried it) tar -xfvz whatever.tgz

ja

> -----Original Message-----
> From: aclug-l-bounce@xxxxxxxxxxxx [mailto:aclug-l-bounce@xxxxxxxxxxxx]On
> Behalf Of Jeff
> Sent: Tuesday, June 08, 1999 8:10 PM
> To: aclug-L@xxxxxxxxxxxx
> Subject: Re: [aclug-L] Unzipping zip files with gzip...
>
>
> 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]