Cheatsheet: Zip
Last updated 2026-09-25
Basic Archiving Commands
Create a zip archive from a directory
Create a zip archive from multiple files
Create a zip archive with maximum compression
Exclude specific files or directories
Advanced Options
Add files to an existing zip archive
Update specific files in an archive
Delete a file from a zip archive
Create a password-protected zip archive
Fix a corrupt zip archive (minor issues)
Fix a corrupt zip archive (more intensive)
Compression, Exclude Patterns & Splitting
Exclude multiple patterns or a whole directory
Store files with no compression (fastest, for already-compressed data)
Store only file names, discarding directory paths
Split an archive into fixed-size volumes
Recombine split volumes back into one archive
List the files stored in an archive without extracting
Show detailed per-entry info (size, ratio, date)