目录
- Switch 总览
-
- -- (Stop switches parsing) switch
- -ai (Include archive filenames) switch
- -an (Disable parsing of archive_name) switch
- -ao (Overwrite mode) switch
- -ax (Exclude archive filenames) switch
- -bb (Set output log level) switch
- -bs (Set output stream for output/error/progress line) switch
- -i (Include filenames) switch
- -m (Set compression Method) switch
-
- 语法
- Zip
- GZip
- BZip2
- 7z
-
- x=[0 | 1 | 3 | 5 | 7 | 9 ]
- yx=[0 | 1 | 3 | 5 | 7 | 9 ]
- s=[off | on | [e] [{N}f] [{N}b | {N}k | {N}m | {N}g | {N}t)]
- qs=[off | on]
- f=[off | on | FilterID]
- hc=[off | on]
- he=[off | on]
- b{C1}[s{S1}]:{C2}[s{S2}]
- mt=[off | on | {N}]
- {N}={MethodID}[:param1][:param2] ... [:paramN]
- LZMA
- LZMA2
- PPMd
- BCJ2
- d={Size}[b|k|m|g]
- Delta
- XZ
- WIM
- 例子
- 可以与此 switch 一起使用的 command
- -o (set Output directory) switch
- -p (set Password) switch
- -r (Recurse subdirectories) switch
- -sa (set Archive name mode) switch
- -scc (Set charset for console input/output) switch
- -scrc (Set hash function) switch
- -scs (Set charset for list files) switch
- -sdel (Delete files after compression) switch
- -seml (Send archive by email) switch
- -sfx (Create SFX archive) switch
- -si (read data from stdin) switch
- -slp (Set Large Pages mode) switch
- -slt (Show technical information) switch
- -sni (Store NT security information) switch
- -sns (Store NTFS alternate Streams) switch
- -so (write data to stdout) switch
- -spf (Use fully qualified file paths) switch
- -ssc (Set Sensitive Case mode) switch
- -ssw (Compress files open for writing) switch
- -stl (Set archive timestamp from the most recently modified file) switch
- -stx (Exclude archive type) switch
- -t (set Type of archive) switch
- -u (Update options) switch
- -v (Create Volumes) switch
- -w (set Working directory) switch
- -x (Exclude filenames) switch
- -y (assume Yes on all queries) switch
Switch 总览
Switch | 描述 |
---|---|
– | 停止开关解析 |
-ad | 在 GUI 版本(7zg)中显示对话框 |
-ai | 包括档案文件名 |
-an | 禁用对 archive_name 的解析 |
-ao | 覆写模式 |
-ax | 排除档案文件名 |
-bb[0-3] | 设置输出日志级别 |
-bd | 禁用进度指示器 |
-bs{o| e | p}{0 | 1 | 2} | 设置输出流的输出/错误/进度 |
-bt | 显示执行时间统计 |
-i | 包括文件名 |
-m | 设定压缩方式 |
-o | 设置输出目录 |
-p | 设置密码 |
-r | 递归子目录 |
-sa | 设置档案名称模式 |
-scc | 为控制台输入 |