linux命令封装sh,Linux命令(31):zip/unzip命令-打包压缩
[root@c7 app]# ls -l test
总用量 216
-rw-r--r--. 1 root root 181 11月 23 17:07 99.sh
-rw-------. 1 root root 11595 11月 23 17:07 messages
-rw-r--r--. 1 root root 1149 11月 23 17:07 messages2.gz
-rw-r--r--. 1 root root 1202 11月 23 17:07 messages.gz
-rw-r--r--. 1 root root 143538 11月 23 17:07 shell.txt
-rw-r--r--. 1 root root 48218 11月 23 17:07 shell.txt.bz2
[root@c7 app]# zip -r test3.zip test -x "*.gz"#没有压缩*.gz的文件
adding: test/ (stored 0%)
adding: test/99.sh (deflated 30%)
adding: test/messages (deflated 90%)
adding: test/shell.txt (deflated 62%)
adding: test/shell.txt.bz2 (deflated 0%)
linux命令封装sh,Linux命令(31):zip/unzip命令-打包压缩相关推荐
- Linux 命令(文件和目录管理 - zip/unzip)
简述 zip/unzip 是 Linux 中广泛使用的压缩/解压缩程序,zip 命令用来将文件压缩为常用的 zip 格式(扩展名为 .zip):unzip 命令则用来解压缩 zip 文件. | 版权声 ...
- zip unzip命令行_Linux / Unix中的Zip和Unzip命令
zip unzip命令行 In this guide, we will focus on zip and unzip commands in Linux. zip command is a utili ...
- zip/unzip 命令
zip 命令 功能说明:压缩文件. 语 法:zip [-AcdDfFghjJKlLmoqrSTuvVwXyz$][-b <工作目录>][-ll][-n <字尾字符串>][-t ...
- zip unzip 命令
zip 命令 zip是个使用广泛的压缩程序,文件经它压缩后会另外产生具有".zip"扩展名的压缩文件. 功能说明:压缩文件 语法:zip [-AcdDfFghjJKlLmoqrST ...
- linux zip/unzip命令
感谢作者分享,转载地址:https://www.cnblogs.com/lucyjiayou/archive/2011/12/25/2301046.html 命令名: zip 功能说明:压缩文件. 语 ...
- linux zip/unzip命令详解
命令名: zip 功能说明:压缩文件. 语 法:zip [-AcdDfFghjJKlLmoqrSTuvVwXyz$][-b <工 作目录>][-ll][-n <字 尾字符串>] ...
- Linux CentOS 平台安装 zip unzip 命令
我是陈皮,一个在互联网 Coding 的 ITer,个人微信公众号「陈皮的JavaLib」关注第一时间阅读最新文章. 查看是否已经安装 zip 或者 unzip . yum list | grep z ...
- 【安装】CentOS安装zip unzip命令
[一]安装 安装命令:yum install -y unzip zip [二]使用 解压到当前:unzip -d common.war -d ./ 网上很多人说用jar命令解压,但jar命令解压时不能 ...
- Mac之zip unzip 命令(压缩)
最通俗的用法 zip -q -r -e -m -o myfile.zip someThing -q 表示不显示压缩进度状态 -r 表示子目录子文件全部压缩为zip:这部分比较重要,不然的话只有some ...
最新文章
- wsl 安装linux 子系统
- 中铁CA根证书安装不成功的解决办法
- 遍历DataTable内存数据的三种方法性能对比
- html间数据传送,Express框架与html之间如何进行数据传递(示例代码)
- 基于mycat的mysql_MySQL基于Mycat实现读写分离
- nginx绑定IP的坑
- Python 认识字典
- 【笔记整理】电磁场复习——麦克斯韦四个方程组
- 【1stopt】批处理拟合
- iOS系统快捷指令一键打开北京健康宝个人信息扫码登记界面
- 时间校准(全网最全最准确方案)完美无解
- 64码高清电视 android版,64体育app
- android 生成条码,Android -条形码的生成
- Python os.symlink创建软链接
- 线上营销和线下营销如何完美结合?
- C语言随机比大小循环,C语言基础知识之(三):循环、随机数
- 全球及中国醛酮树脂行业研究及十四五规划分析报告
- Fortran学习记录1(Fortran数据类型)
- css中的label标签
- 用Jquey实现双击图片放大和触摸放大的功能。