Commonly used · Packaging and compression
zip:Create ZIP archive
Syntax
zip -r archive.zip Table of ContentsOptions
-r- recursive archiving
Examples
zip -r project.zip projectsUsage and sandbox support
For review only: The sandbox's archived exercises use tar/gzip.
This command is for reference and review, and the simulation terminal does not provide corresponding exercises yet.
Related commands
tarPack, view and restore archivesgzipcompressed filegunzipRecover compressed filesunzipUnzip the ZIP archivebzip2Use bzip2 compressionbunzip2Unzip the bzip2 filexzUse xz compressionunxzUnzip the xz filezcatRead gzip filezgrepSearch for gzip textzstdUse Zstandard compression7zManage multiple archive formats