Gentoo Archives: gentoo-user

From: Joerg.Schilling@fokus.fraunhofer.de (Joerg Schilling)
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] lzma archives
Date: Fri, 07 Nov 2008 08:50:48
Message-Id: 49140165.QJ2KFx4nOkgRX1e1%Joerg.Schilling@fokus.fraunhofer.de
In Reply to: Re: [gentoo-user] lzma archives by Jorge Peixoto de Morais Neto
1 "Jorge Peixoto de Morais Neto" <please.no.spam.here@×××××.com> wrote:
2
3 > This old way of writing `tar' options can surprise even experienced
4 > users. For example, the two commands:
5 >
6 > tar cfz archive.tar.gz file
7 > tar -cfz archive.tar.gz file
8 >
9 > are quite different.
10 >
11 >
12 > So I use either tar --lzma -xv -f compressedarchive.tar.lzma or, when
13 > using an old tar,
14 > lzma -dc compressedarchive.tar.lzma | tar -xv -f -
15
16 The "correct" official tar syntax does not use '-'. If you like to be 100%
17 that a tar command should work, ddon't use '-' in front of options.
18
19 BTW: "star" autodetects 7z compression and calls the program "p7zip" to unpack
20 the archive transparently.
21
22 Jörg
23
24 --
25 EMail:joerg@××××××××××××××××××××××××.de (home) Jörg Schilling D-13353 Berlin
26 js@××××××××××××.de (uni)
27 schilling@××××××××××××××××.de (work) Blog: http://schily.blogspot.com/
28 URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily

Replies

Subject Author
Re: [gentoo-user] lzma archives Dirk Heinrichs <dirk.heinrichs.ext@×××.com>