添加 zip 命令
This commit is contained in:
parent
7af6066ece
commit
25471a281a
@ -31,6 +31,8 @@ unzip html.zip #解压在当前目录
|
||||
unzip -o html.zip -d /usr/local/ #解压 html.zip 文件到 /usr/local/ 下
|
||||
|
||||
zip -qr html.zip ./html #将当前html目录递归压缩为 html.zip
|
||||
|
||||
zip -r test_python.zip test_python -x "/test_python/venv/*" -x "/test_python/lib/__pycache__/*" #压缩目录,排除多个指定目录
|
||||
```
|
||||
|
||||
#### gzip 压缩命令,文件后缀.gz
|
||||
|
Loading…
x
Reference in New Issue
Block a user