使用 p7zip 加密解密
1. 安装
yum install p7zip p7zip-plugins
2. 加密打包
7z a -ptest test.7z test.php
-p 密码 test.php 可以是目录 或者 多个文件
3. 解密打包
7z x -ptest test.7z -r -o./now
4. 查看手册
7z --help
1. 安装
yum install p7zip p7zip-plugins
2. 加密打包
7z a -ptest test.7z test.php
-p 密码 test.php 可以是目录 或者 多个文件
3. 解密打包
7z x -ptest test.7z -r -o./now
4. 查看手册
7z --help