Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jan 2004 11:27:18 +0100
From:      Robert Klein <RoKlein@roklein.de>
To:        j.el-rayes@daemon.li, Lukas Ertl <l.ertl@univie.ac.at>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: freebsd-hackers Digest, Vol 42, Issue 6
Message-ID:  <200401091127.18780.RoKlein@roklein.de>
In-Reply-To: <20040109093311.GC311@jenny.daemon.li>
References:  <20040108181346.84AE116A4E0@hub.freebsd.org> <20040109102845.X53689@pcle2.cc.univie.ac.at> <20040109093311.GC311@jenny.daemon.li>

next in thread | previous in thread | raw e-mail | index | archive | help
On Freitag, 9. Januar 2004 10:33, Josef El-Rayes wrote:
> Lukas Ertl <l.ertl@univie.ac.at> wrote:
> > On Fri, 9 Jan 2004, Josef El-Rayes wrote:
> > > tar xvfj file.tar.bz2
> > tar xvjf ....
> i do not think that the order of the parameters
> have any influence on the result.

No, but the filename has to be right after the f.  The following 
commands work, and both have the same result:

tar -jxvf file.tar.bz2
tar -jxf file.tar.bz2 -v

but the following does not work as you expect:

tar -jxfv file.tar.bz2

In this command tar(1) tries to extract the file "v".

Example error message:
$ tar -jtfv xfce-4.0.1-src.tar.bz2 
tar (child): v: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: xfce-4.0.1-src.tar.bz2: Not found in archive
tar: Error exit delayed from previous errors
$


Regards,
Robert



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401091127.18780.RoKlein>