freebsd-hackers Digest, Vol 42, Issue 6

Robert Klein RoKlein at roklein.de
Fri Jan 9 02:25:28 PST 2004


On Freitag, 9. Januar 2004 10:33, Josef El-Rayes wrote:
> Lukas Ertl <l.ertl at 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



More information about the freebsd-hackers mailing list