Install the complete package with local command reference and every published mode.
install zipzipUse
zip <src|arc.zip|file.gz> [dst] [options]zip <src> [dst]create a
zip <arc.zip> [dst]extract a
zip <file.gz> [dst]decompress GZIP into the current directory or <dst>
-llist archive information without extracting
-ttest archive paths and data integrity
-gzcompress one file as GZIP
-freplace an archive or existing extracted files
-d @deldelete the source after successful archive creation
-0 .. -9set the compression level (default 6)
-l reads the manifest without extracting data.
-0 stores
Before extraction, paths are normalized and absolute paths, parent traversal, duplicate destinations and symbolic-link entries are rejected. Existing output is preserved unless -f is explicit. -d is valid only during archive creation and invokes del after the archive is finalized successfully.
Run the prepared examples directly on the page. Their results are prebuilt and shown in the browser; no terminal command is executed on the server.
Install the current compatible version. Choose Base for the complete feature set or Minimum for the reduced package; use upgrade to update a module that is already installed.
Base and Minimum are two packages of the same current module release, not separate command versions.
Install the complete package with local command reference and every published mode.
install zipInstall the reduced package. Local reference is omitted;
install zip -mInstall exactly this published version.
install zip -v 1.2.3Ask upgrade to check compatibility and replace the installed block only when needed.
upgrade zipRemove the extension block while leaving the core and unrelated modules intact.
install zip -uExamples are copyable command lines, not actions executed by this website. Review paths, permissions and destructive flags before running them on a real project.
cd \sandbox | zip my | cd .my/
1.txt
2.txt
data/
test.txt
my.zipzip tmp/my.zip -lmy/1.txt file · 0 B
my/2.txt file · 0 B
my/123.jpg file · 37.4 KBzip tmp/my.zip -tStatus Archive OK
Entries 7
Files 5zip tmp/my.zip tmp/unpackedextracted tmp/unpacked/my/
files 5zip logs/app.log -gzcreated logs/app.log.gzzip logs/app.log.gz tmp/app.logextracted tmp/app.logzip data tmp/data.zip -9created tmp/data.zip
level 9zip data tmp/data.zip -fcreated tmp/data.zip
replace explicitzip tmp/draft.txt tmp/draft.zip -dcreated tmp/draft.zip
source removed after successful archive creationzip missing.zipFile not found: missing.zipsandbox/data/sample.txtThe example uses a file or directory from the protected /sandbox/ documentation workspace.
lil-terminal sandbox text file
This file is safe to read, copy, rename, replace, hash and archive.
Primary archive actions stay visible while operational flags are grouped below them.