lz

lists the contents of

TLDR

List archive contents
$ lz [path/to/file.tar.gz]

SYNOPSIS

lz file.tar.gz

DESCRIPTION

lz lists the contents of a .tar.gz compressed archive without extracting it. It is a simple wrapper that provides quick access to archive contents.

INSTALL

sudo apt install mtools
sudo dnf install mtools
sudo pacman -S mtools
sudo apk add mtools
sudo zypper install mtools
brew install mtools
nix profile install nixpkgs#mtools

CAVEATS

Specifically for .tar.gz files. Use tar -tzf directly for more options and control.

SEE ALSO

tar(1), gzip(1), zcat(1)