ZIPSTREAM(1)                                         ZIPSTREAM(1)

     NAME
          zipstream - rewrite zip file for streaming

     SYNOPSIS
          zip/zipstream [ -d ] [ -o ] zipfile

     DESCRIPTION
          Zipstream writes zipfile to standard output, placing the
          central directory (listing all files and their details) at
          the start of the file instead of at the end.

          If -o is specified, a list of files is read from standard
          input (separated by newline) and those files moved to the
          start of the new zip file.  Files must be specified at most
          once.  Files not specified will remain in the same order,
          but after the files that were specified.

          Option -d increases debugging output.

     SOURCE
          /appl/cmd/zip/zipstream.b
          /appl/lib/zip.b
          /appl/lib/zip.m

     SEE ALSO
          getzip(1), zipfs(4)

     BUGS
          Not all zip utilities can read zip files generated by zip-
          stream.  Most notably Info-ZIP and 7z.

          The ``end of the central directory'' (pointing to the actual
          central directory at the beginning) is still at the end of
          the file.

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