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/

最新文章

  1. struts debug 标签
  2. NSXMLParser解析xml格式
  3. ajax请求 json格式和数组格式总结
  4. spring4.x注解概述
  5. iOS开发--TableView详细解释
  6. Foreign websites
  7. 通过s3cmd上传css文件到s3导致样式加载失败
  8. 延迟初始化Lazy
  9. 【题解】Luogu P2319 [HNOI2006]超级英雄
  10. golang gorilla websocket例子
  11. Activiti的ACT_GE_PROPERTY表初始化
  12. Chapter 2 -- Preconditions
  13. 解析form表单数据
  14. plot sin示意图(隐藏刻度,自定义刻度)
  15. Type cvc-complex-type.2.4.c: The matching wildcard is strict...
  16. openvpn 负载均衡方案
  17. L1正则化和L2正则化
  18. 【数组】3Sum
  19. Spring(五)之Bean定义继承和依赖注入
  20. JavaScript中callee,caller,argument的理解

热门文章

  1. Jquery的toggle()方法
  2. Storm:分布式流式计算框架
  3. ASP.NET 多环境下配置文件web.config的灵活配置---转
  4. layer相关使用
  5. form表单select的选项值选择
  6. 配置jenkins slave 问题,ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.
  7. Dubbo2.7源码分析-Dubbo是如何整合spring-framework的
  8. 撩课-Web大前端每天5道面试题-Day25
  9. Redis到底是多线程还是单线程?线程安全吗
  10. 在 CentOS7 上安装 zookeeper-3.5.2 服务