免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3205 | 回复: 3
打印 上一主题 下一主题

7z mark [复制链接]

论坛徽章:
1
IT运维版块每日发帖之星
日期:2015-09-01 06:20:00
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-07-12 21:32 |只看该作者 |倒序浏览
7z /7za /7zr

Usage: 7z <command> [<switches>...] <archive_name> [<file_names>...]
       [<@listfiles...>]

<Commands>
  a: Add files to archive #归档
  b: Benchmark
  d: Delete files from archive
  e: Extract files from archive (without using directory names) #解压到当前目录,不保留目录
  l: List contents of archive
  t: Test integrity of archive
  u: Update files to archive
  x: eXtract files with full paths #保留目录解压

<Switches>
  -ai[r[-|0]]{@listfile|!wildcard}: Include archives  #把单个文件加入归档
  -ax[r[-|0]]{@listfile|!wildcard}: eXclude archives  #从归档中解压单个文件

  -o{Directory}: set Output directory
  -p{Password}: set Password
  -y: assume Yes on all queries

全部选项:
<Switches>
  -ai[r[-|0]]{@listfile|!wildcard}: Include archives
  -ax[r[-|0]]{@listfile|!wildcard}: eXclude archives
  -bd: Disable percentage indicator
  -i[r[-|0]]{@listfile|!wildcard}: Include filenames
  -m{Parameters}: set compression Method (see the manual)
  -l: don't store symlinks; store the files/directories they point to
  CAUTION : the scanning stage can never end because of symlinks like '..'
            (ex:  ln -s .. ldir)
  -o{Directory}: set Output directory
  -p{Password}: set Password
  -r[-|0]: Recurse subdirectories
  (CAUTION: this flag does not do what you think, avoid using it)
  -sfx[{name}]: Create SFX archive
  -si[{name}]: read data from stdin
  -slt: show technical information for l (List) command
  -so: write data to stdout (eg: 7z a dummy -tgzip -so Doc.txt > archive.gz)
  -ssc[-]: set sensitive case mode
  -t{Type}: Set type of archive
  -v{Size}[b|k|m|g]: Create volumes
  -u[-][p#][q#][r#][x#][y#][z#][!newArchiveName]: Update options
  -w[path]: assign Work directory. Empty path means a temporary directory
  -x[r[-|0]]]{@listfile|!wildcard}: eXclude filenames
  -y: assume Yes on all queries

论坛徽章:
0
2 [报告]
发表于 2011-07-13 08:58 |只看该作者
mark

论坛徽章:
0
3 [报告]
发表于 2011-07-13 08:58 |只看该作者
学习了。

论坛徽章:
1
IT运维版块每日发帖之星
日期:2015-09-01 06:20:00
4 [报告]
发表于 2011-07-13 22:09 |只看该作者
{:2_166:}
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP