命令行压缩工具7z.exe使用详解
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了命令行压缩工具7z.exe使用详解相关的知识,希望对你有一定的参考价值。
参考技术A 7z.exe在Windows cmd窗口使用说明如下:7-Zip (A) 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18
Usage: 7za <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
-bd: Disable percentage indicator
-i[r[-|0]]@listfile|!wildcard: Include filenames
-mParameters: set compression Method
-oDirectory: set Output directory
-pPassword: set Password
-r[-|0]: Recurse subdirectories
-scsUTF-8 | WIN | DOS: set charset for list files
-sfx[name]: Create SFX archive
-si[name]: read data from stdin
-slt: show technical information for l (List) command
-so: write data to stdout
-ssc[-]: set sensitive case mode
-ssw: compress shared files
-tType: Set type of archive
-u[-][p#][q#][r#][x#][y#][z#][!newArchiveName]: Update options
-vSize[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
中文使用说明如下:
以上是关于命令行压缩工具7z.exe使用详解的主要内容,如果未能解决你的问题,请参考以下文章