GETZIP(1)                                               GETZIP(1)

     NAME
          getzip, lszip, putzip - zip file utilities

     SYNOPSIS
          zip/getzip [ -dv ] [ -k ] zipfile [ path ... ]
          zip/lszip [ -d ] zipfile
          zip/putzip [ -dvp ] zipfile [ path ... ]

     DESCRIPTION
          Getzip, lszip and putzip read, list and create zip files.
          Zipfile is the file to be read or created.

          Getzip extracts only the paths given on the command-line.
          If no paths are specified, all files in the zip file are
          extracted.

          Lszip lists the files present in the zip file.

          Putzip creates a zip file.  If paths are given on the
          command-line, those paths and their children are added to
          the zip file.  Otherwise, a list of paths to put in the zip
          file are read from standard input.  Directories from the
          standard input are not added recursively.

               Options

          -d   Print debugging information.  A second -d prints more
               information.

          -v   Be verbose.  For getzip this prints the files
               extracted.  For putzip this prints the files added to
               the zip file.

          -k   Keep existing files.  For getzip only.  By default,
               existing files are overwritten.

          -p   Do not compress files added to the zip file.  For
               putzip only.

     SOURCE
          /appl/cmd/zip/getzip.b
          /appl/cmd/zip/lszip.b
          /appl/cmd/zip/putzip.b
          /appl/lib/zip.b
          /appl/lib/zip.m

     SEE ALSO
          gettar(1), zipstream(1), zipfs(4)

     Page 1                       Plan 9            (printed 12/22/24)

     GETZIP(1)                                               GETZIP(1)

     BUGS
          Zip64 extensions are not supported.
          Encrypted zip files are not supported.

     Page 2                       Plan 9            (printed 12/22/24)