7z压缩在CentOS下和安装方法与压缩解压命令

1,125次阅读
没有评论

共计 412 个字符,预计需要花费 2 分钟才能阅读完成。

7z 安装方法:

cd /usr/local/src
wget -c http://mirrors.kernel.org/fedora-epel/epel-release-latest-8.noarch.rpm
rpm -ivh epel-release-latest-8.noarch.rpm
yum repolist #查看是否启用
yum install -y p7zip* #安装 7zip

ZIP 压缩

7z a -tzip archive.zip -pxiaoge /scit028

scit028 是个文件夹,将文件夹 scit028 下面的所有文件压缩到 archive.zip 中,解压时需要使用密码 xiaoge

7z 压缩

7z a archive -pxiaoge -mhe=on /scit028

scit028 是个文件夹,将文件夹 scit028 下面的所有文件压缩到 archive.7z 中,-mhe=on 为加密文件名,解压时需要使用密码 xiaoge

其他命令待整理中... 请持续关注哦

打赏小哥

7z 压缩在 CentOS 下和安装方法与压缩解压命令 微信打赏 7z 压缩在 CentOS 下和安装方法与压缩解压命令 支付宝打赏

正文完
 0
评论(没有评论)