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 |