添加 zip 命令

This commit is contained in:
nick 2020-05-13 16:47:30 +08:00
parent 7af6066ece
commit 25471a281a

View File

@ -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