Linux zip命令详解
2024-10-19 09:00:16
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/
最新文章
- struts debug 标签
- NSXMLParser解析xml格式
- ajax请求 json格式和数组格式总结
- spring4.x注解概述
- iOS开发--TableView详细解释
- Foreign websites
- 通过s3cmd上传css文件到s3导致样式加载失败
- 延迟初始化Lazy
- 【题解】Luogu P2319 [HNOI2006]超级英雄
- golang gorilla websocket例子
- Activiti的ACT_GE_PROPERTY表初始化
- Chapter 2 -- Preconditions
- 解析form表单数据
- plot sin示意图(隐藏刻度,自定义刻度)
- Type cvc-complex-type.2.4.c: The matching wildcard is strict...
- openvpn 负载均衡方案
- L1正则化和L2正则化
- 【数组】3Sum
- Spring(五)之Bean定义继承和依赖注入
- JavaScript中callee,caller,argument的理解
热门文章
- Jquery的toggle()方法
- Storm:分布式流式计算框架
- ASP.NET 多环境下配置文件web.config的灵活配置---转
- layer相关使用
- form表单select的选项值选择
- 配置jenkins slave 问题,ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.
- Dubbo2.7源码分析-Dubbo是如何整合spring-framework的
- 撩课-Web大前端每天5道面试题-Day25
- Redis到底是多线程还是单线程?线程安全吗
- 在 CentOS7 上安装 zookeeper-3.5.2 服务