博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Linux zip命令详解
阅读量:4576 次
发布时间:2019-06-08

本文共 1415 字,大约阅读时间需要 4 分钟。

zip常见命令参数

Usage: zip [-options] [-b path] [-t mmddyyyy] [-n suffixes] [zipfile list] [-xi list]  The default action is to add or replace zipfile entries from list, which  can include the special name - to compress standard input.  If zipfile and list are omitted, zip compresses stdin to stdout.  -f   freshen: only changed files  -u   update: only changed or new files  -d   delete entries in zipfile    -m   move into zipfile (delete OS files)  -r   recurse into directories     -j   junk (don't record) directory names  -0   store only                   -l   convert LF to CR LF (-ll CR LF to LF)  -1   compress faster              -9   compress better  -q   quiet operation              -v   verbose operation/print version info  -c   add one-line comments        -z   add zipfile comment  -@   read names from stdin        -o   make zipfile as old as latest entry  -x   exclude the following names  -i   include only the following names  -F   fix zipfile (-FF try harder) -D   do not add directory entries  -A   adjust self-extracting exe   -J   junk zipfile prefix (unzipsfx)  -T   test zipfile integrity       -X   eXclude eXtra file attributes  -y   store symbolic links as the link instead of the referenced file  -e   encrypt                      -n   don't compress these suffixes  -h2  show more help

常用的命令展示

解压:unzip hhhh.tar.zip

      压缩:zip hhhh.tar.zip hhhh/

转载于:https://www.cnblogs.com/ftl1012/p/zip.html

你可能感兴趣的文章
【uoj2】 NOI2014—起床困难综合症
查看>>
js return的用法
查看>>
子节点填充父元素除去一固定高度后的剩余高度
查看>>
[原]IOS 后台发送邮件
查看>>
(转)JAVA Calendar详解
查看>>
转: 编码,charset,乱码,unicode,utf-8与net简单释义
查看>>
C#--正则匹配
查看>>
5.30 考试修改+总结
查看>>
BA-设计施工调试流程
查看>>
C#-CLR各版本特点
查看>>
css3背景透明文字不透明
查看>>
《java JDK7 学习笔记》之接口与多态
查看>>
LeetCode 96:Unique Binary Search Trees
查看>>
kernel-char设备的建立
查看>>
DVWA-CSRF
查看>>
ubuntu common software introduction
查看>>
资源相互引用时 需添加 PerformSubstitution=True
查看>>
MapRedece(单表关联)
查看>>
蒲公英App开发之检测新版本
查看>>
【安卓基础】倒计时按钮封装(验证码倒计时按钮)
查看>>