All rights reserved, please indicate the source when citing
zip - Compress Files with .zip Format
The zip command is used to compress files into the ".zip" format, which is a widely used and cross-platform compression format in both Linux and Windows. zip also supports archiving multiple files into a single compressed file.
The basic usage of the zip command is as follows: zip [OPTIONS] [FILES...] [OUTPUT-FILE] 。
Some commonly used options with the zip command include:
-r : Recursively compress directories.
-x : Exclude specified files or directories from compression.