[manual index][section index]

NAME

zipstream - rewrite zip file for streaming

SYNOPSIS

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/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 zipstream. 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.

ZIPSTREAM(1 ) Rev:  Wed Feb 22 04:14:06 GMT 2023