Untarring a file problem

Clayton Stapleton plug-discuss@lists.PLUG.phoenix.az.us
Thu, 3 Jan 2002 11:41:50 -0700


Thanks All;
That took care of my problem. That is what happens when you use
the info supplied with the package without checking it.
Clay Stapleton

On Thursday 03 January 2002 08:15 am, you wrote:
> On Thu, Jan 03, 2002 at 05:40:31AM -0700, Clayton Stapleton wrote:
> > Hi Folks;
> > Tried to untar a .tgz file with the following results:
> >
> > clay@linux:~> file ac3d3linuxtrial.tgz
> > ac3d3linuxtrial.tgz: gzip compressed data, deflated, last modified:
> > Wed Oct 11 08:32:32 2000, os: Unix
> > clay@linux:~> tar -xvfz ac3d3linuxtrial.tgz
> > tar: z: Cannot open: No such file or directory
> > tar: Error is not recoverable: exiting now
> >
> > Using ls on the file resulted in:
> >
> > -rw-r--r--    1 clay     users     1512801 Jan  1 09:36
> > ac3d3linuxtrial.tgz
> >
> > Any help would be appriciated.
> >
> > TIA
> > Clay Stapleton
>
> Remember that tar will examine it's options from left to right, and the
> f argument expects a filename immediately after it. So, with a parameter
> string of -xvfz, f sees the filename as z. To fix your problem, reorder
> the letters to put the f last. Ex:
>
> foo@bar:~$ tar -zxvf ac3d3linuxtrial.tgz