laser

Content

 

Data

license:
Version: 1.10.1 (in Debian 10)
Developer / owner:

Short description:

Manual page and help for the lsar linux command. Use the lsar command to list the contents of archive files.

 

 

Man page output

man lsar
LSAR(1)                                   User Commands                                   LSAR(1)

NAME
       lsar - list archive file contents

SYNOPSIS
       lsar [OPTION]... ARCHIVE...

DESCRIPTION
       List the contents of ARCHIVEs.

OPTIONS
       -l, -long
              Print more information about each file in the archive.

       -L, -verylong
              Print all available information about each file in the archive.

       -t, -test
              Test the integrity of the files in the archive, if possible.

       -p, -password PASSWORD
              The password to use for decrypting protected archives.

       -e, -encoding ENCODING
              The  encoding  to  use  for filenames in the archive, when it is not known.  If not
              specified, the program attempts to auto-detect the encoding used.   Use  "help"  or
              "list" as the argument to give a listing of all supported encodings.

       -E, -password-encoding ENCODING
              The encoding to use for the password for the archive, when it is not known.  If not
              specified, then either the encoding given by the -encoding option or  the  auto-de‐
              tected encoding is used.

       -pe, -print-encoding
              Print the auto-detected encoding and the confidence factor after the file list.

       -i, -indexes
              Instead  of specifying the files to list as filenames or wildcard patterns, specify
              them as indexes.

       -j, -json
              Print the listing in JSON format.

       -ja, -json-ascii
              Print the listing in JSON format, encoded as pure ASCII text.

       -nr, -no-recursion
              Do not attempt to list the contents of archives contained in other  archives.   For
              instance,  when  listing  a  .tar.gz file, only list the .tar file and not its con‐
              tents.

       -h, -help
              Display help information.

       -v, -version
              Print version and exit.

SEE ALSO
       unar(1)

The Unarchiver                              2011-09-26                                    LSAR(1)

 

 

Help output

lsar -h
lsar v1.10.1, a tool for listing the contents of archive files.
Usage: lsar [options] archive [files ...]

Available options:
-long (-l)                      Print more information about each file in the archive.
-verylong (-L)                  Print all available information about each file in the archive.
-test (-t)                      Test the integrity of the files in the archive, if possible.
-password (-p) <string>         The password to use for decrypting protected archives.
-encoding (-e) <encoding name>  The encoding to use for filenames in the archive, when it is not
                                known. If not specified, the program attempts to auto-detect the
                                encoding used. Use "help" or "list" as the argument to give a
                                listing of all supported encodings.
-password-encoding (-E) <name>  The encoding to use for the password for the archive, when it is not
                                known. If not specified, then either the encoding given by the
                                -encoding option or the auto-detected encoding is used.
-print-encoding (-pe)           Print the auto-detected encoding and the confidence factor after the
                                file list
-indexes (-i)                   Instead of specifying the files to list as filenames or wildcard
                                patterns, specify them as indexes.
-json (-j)                      Print the listing in JSON format.
-json-ascii (-ja)               Print the listing in JSON format, encoded as pure ASCII text.
-no-recursion (-nr)             Do not attempt to list archives contained in other archives. For
                                instance, when unpacking a .tar.gz file, only list the .gz file and
                                not its contents.
-help (-h)                      Display this information.
-version (-v)                   Print version and exit.

 

Related Content

  •