码迷,mamicode.com
首页 > 系统相关 > 详细

Linux系统下ZIP文件解压和压缩命令

时间:2019-07-08 10:52:32      阅读:137      评论:0      收藏:0      [点我收藏+]

标签:linu   linux系统   文件   文件压缩   detail   col   div   bsp   tps   

zip all.zip *.jpg   #将所有.jpg的文件压缩成一个zip包

unzip all.zip    #将all.zip中的所有文件解压到当前目录中

unzip all.zip -d all #将all.zip 中的所有文件解压到当前目录中的all文件夹中

zip -r hy.zip hy  #将当前目录下的hy文件夹压缩为hy.zip

zip -r hy.zip hy 123.txt  #将当前目录下的hy文件夹和123.txt压缩为hy.zip


作者:open210 来源:CSDN 原文:https://blog.csdn.net/m0_38035019/article/details/79849362

 

Linux系统下ZIP文件解压和压缩命令

标签:linu   linux系统   文件   文件压缩   detail   col   div   bsp   tps   

原文地址:https://www.cnblogs.com/gxlaqj/p/11149676.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!