16 lines
646 B
Plaintext
16 lines
646 B
Plaintext
The lz script emulates and extends commands lz and uz from the mtools.
|
|
|
|
It handles: tar, tar.gz, tar.bz2, tar.xz, tar.lzma and tar.Z (and
|
|
associated 3-characters extensions: tgz, tbz, tb2, tlz, txz, taz)
|
|
through the standards options of GNU Tar.
|
|
Note that you need GNU Tar, at least version 1.20 to support LZMA
|
|
compressed archives, and version 1.22 for XZ compressed ones.
|
|
|
|
If the script name is "lz", the archive content is displayed. If the
|
|
name is "uz", it is extracted.
|
|
|
|
To install lz and uz, move put script in a directory in the PATH (for
|
|
instance /usr/local/bin) and hard link it to uz:
|
|
cp lz /usr/local/bin
|
|
ln /usr/local/bin/{lz,uz}
|