| UNZIP(1) | General Commands Manual | UNZIP(1) | 
unzip —
| unzip | [ -aCcfjLlnopqtuvy] [-ddir] [-xpattern] zipfile | 
-a-C-c-p, but
      doesn't suppress normal output.-d
    dir-f-j-L-l-n-o-p-q was specified.-P
    password-q-t-u-v-l by using the long listing. Note
      that most of the data is currently fake and does not reflect the content
      of the archive.-x
    pattern-yNote that only one of -n,
    -o, and -u may be
  specified.
UNZIP_DEBUG environment variable is defined, the
  -q command-line option has no effect, and additional
  debugging information will be printed to stderr.
unzip utility aims to be sufficiently compatible
  with other implementations to serve as a drop-in replacement in the context of
  the pkgsrc(7) system. No attempt
  has been made to replicate functionality which is not required for that
  purpose.
For compatibility reasons, command-line options will be recognized if they are listed not only before but also after the name of the zipfile.
Normally, the -a option should only affect
    files which are marked as text files in the zipfile's central directory.
    Since the archive(3) library
    does not provide access to that information, it is not available to the
    unzip utility. Instead, the
    unzip utility will assume that a file is a text file
    if no non-ASCII characters are present within the first block of data
    decompressed for that file. If non-ASCII characters appear in subsequent
    blocks of data, a warning will be issued.
The unzip utility is only able to process
    ZIP archives handled by
    libarchive(3). Depending
    on the installed version of
    libarchive(3), this may or
    may not include self-extracting or ZIPX archives.
unzip utility appeared in NetBSD
  6.0.
unzip utility and this manual page were written by
  Dag-Erling Smørgrav
  <des@FreeBSD.org>. It
  uses the archive(3) library
  developed by
unzip utility currently does not support asking the
  user whether to overwrite or skip a file that already exists on disk. To be on
  the safe side, it will fail if it encounters a file that already exists and
  neither the -n nor the -o
  command line option was specified.
| February 18, 2021 | NetBSD 10.1 |