The linux zip command packs the compressed file directory

In Linux, you can use zipthe command to compress files or directories. For example, to compress all files and folders in /home/html/the directory to those in the current directory html.zip, use the following command:

zip -q -r html.zip /home/html

Among them, -qthe option means quiet mode, and the execution process of the command is not displayed; -rthe option means recursive processing, and all files and subdirectories under the specified directory will be processed together. 1

Guess you like

Origin blog.csdn.net/a772304419/article/details/130087657
Recommended