7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
Usage: 7z [...] [...]
[<@listfiles...>]
a : 添加文件到压缩包 Add files to archive
b : 电脑解压缩性能检测 Benchmark
d : 从压缩包中删除文件 Delete files from archive
e : 从压缩包中解压文件(不含目录名) Extract files from archive (without using directory names)
h : 计算文件的哈希值 Calculate hash values for files
i : 显示有关支持的格式的信息 Show information about supported formats
l : 列出压缩包的内容 List contents of archive
rn : 在压缩包中重命名文件 Rename files in archive
t : 测试档案的完整性 Test integrity of archive
u : 更新压缩包中的文件 Update files to archive
x : 使用完整路径提取文件 eXtract files with full paths
-- : 停止开关解析 Stop switches parsing
-ai[r[-|0]]{@listfile|!wildcard} : 包括档案 Include archives
-ax[r[-|0]]{@listfile|!wildcard} : 排除档案 eXclude archives
-ao{a|s|t|u} : 设置覆盖模式 set Overwrite mode
-an : 禁用压缩包名称字段 disable archive_name field
-bb[0-3] : 设置输出日志级别 set output log level
-bd : 禁用进度指示器 disable progress indicator
-bs{o|e|p}{0|1|2} : 为输出/错误/进度行设置输出流 set output stream for output/error/progress line
-bt : 显示执行时间统计信息 show execution time statistics
-i[r[-|0]]{@listfile|!wildcard} : 包括文件名 Include filenames
-m{Parameters} : 设置压缩方法 set compression Method
-mmt[N] : 设置CPU线程数 set number of CPU threads
-mx[N] : 设置压缩级别 set compression level: -mx1 (fastest) ... -mx9 (ultra)
-o{Directory} : 设置输出目录 set Output directory
-p{Password} : 设置密码 set Password
-r[-|0] : 递归子目录 Recurse subdirectories
-sa{a|e|s} : 设置压缩包名称模式 set Archive name mode
-scc{UTF-8|WIN|DOS} : 设置控制台输入/输出的字符集 set charset for for console input/output
-scs{UTF-8|UTF-16LE|UTF-16BE|WIN|DOS|{id}} : 设置列表文件的字符集 set charset for list files
-scrc[CRC32|CRC64|SHA1|SHA256|*] : 为 x, e, h 指令设置哈希值 set hash function for x, e, h commands
-sdel : 压缩后删除源文件 delete files after compression
-seml[.] : 用电子邮件发送压缩包 send archive by email
-sfx[{name}] : 建立 SFX 压缩包 Create SFX archive
-si[{name}] : 从标准输入管道读取数据 read data from stdin
-slp : 设置大页面模式 set Large Pages mode
-slt : 显示l (List) 指令的技术信息 show technical information for l (List) command
-snh : 将硬链接存储为链接 store hard links as links
-snl : 将符号链接存储为链接 store symbolic links as links
-sni : 存储NT安全信息 store NT security information
-sns[-] : 存储NTFS备用流 store NTFS alternate streams
-so : 将数据写入标准输出 write data to stdout
-spd : 禁用文件名的通配符匹配 disable wildcard matching for file names
-spe : 为extract命令消除根文件夹的重复 eliminate duplication of root folder for extract command
-spf : 使用完全限定的文件路径 use fully qualified file paths
-ssc[-] : 设置敏感案例模式 set sensitive case mode
-ssw : 压缩共享文件 compress shared files
-stl : 从最近修改的文件设置压缩包时间戳 set archive timestamp from the most recently modified file
-stm{HexMask} : 设置CPU线程关联掩码(十六进制数) set CPU thread affinity mask (hexadecimal number)
-stx{Type} : 排除压缩包类型 exclude archive type
-t{Type} : 设置压缩包类型 Set type of archive
-u[-][p#][q#][r#][x#][y#][z#][!newArchiveName] : 更新选项 Update options
-v{Size}[b|k|m|g] : 建立卷 Create volumes
-w[{path}] : 分配工作目录。空路径表示临时目录 assign Work directory. Empty path means a temporary directory
-x[r[-|0]]{@listfile|!wildcard} : 排除文件名 eXclude filenames
-y : 假设所有查询都是 assume Yes on all queries