scripts/lz
Matteo Cypriani 5806fde85a lz: Fix bug with filename containing spaces
And add a message on standard error for each file listed/extracted.
2010-01-06 22:39:03 +01:00
..
README Add license headers and doc 2010-01-04 23:29:03 +01:00
lz lz: Fix bug with filename containing spaces 2010-01-06 22:39:03 +01:00

README

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}