0xAA55 发表于 2014-3-5 16:44:47

【压缩】7z压缩解压工具以及控制台程序下载

http://sparanoid.com/lab/7z/assets/img/7ziplogo.png
http://www.0xaa55.com/static/image/filetype/7z.gif
7z的中文官方主页:http://sparanoid.com/lab/7z/7z的英文官方主页:http://www.7-zip.org/
7z是目前已知的压缩比最高的压缩格式。实验证明它的压缩比超过了设置为“最好”压缩的WinRAR“固实压缩包”。但是WinRAR压缩和解压都比7z快。因此大家可以选择一下。
不过放心,WinRAR能解压7z的压缩包。不知道7z能不能解压WinRAR的压缩包。以下的四个链接是9.20稳定版
7z安装包32位下载:http://nchc.dl.sourceforge.net/project/sevenzip/7-Zip/9.20/7z920.exe
论坛备份下载:http://pan.baidu.com/s/1ntHNuPV
7z安装包64位下载:http://nchc.dl.sourceforge.net/project/sevenzip/7-Zip/9.20/7z920-x64.msi
论坛备份下载:http://pan.baidu.com/s/1bnvNaPL

7z是开源的。源码下载页:**** Hidden Message *****9.20稳定版源码下载:**** Hidden Message *****如果不想安装整个7z,只需要一个7z的控制台程序,我这也提供下载。版本:9.20
32位:
64位:
下载下来重命名为7z.exe放到C:\Windows下
然后就能直接用CMD召唤7z运行了。很方便的。常用的命令有a、e
举例:把1.txt 2.bmp 3.exe压缩到4.7z里面:
7z a 4.7z 1.txt 2.bmp 3.exe
举例:解压4.7z
7z e 4.7z
以下是7z的详细命令参数。
7-Zip 9.20Copyright (c) 1999-2010 Igor Pavlov2010-11-18

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]{@listfile|!wildcard}: Include archives
-ax]{@listfile|!wildcard}: eXclude archives
-bd: Disable percentage indicator
-i]{@listfile|!wildcard}: Include filenames
-m{Parameters}: set compression Method
-o{Directory}: set Output directory
-p{Password}: set Password
-r[-|0]: Recurse subdirectories
-scs{UTF-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
-t{Type}: Set type of archive
-u[-][!newArchiveName]: Update options
-v{Size}: Create volumes
-w[{path}]: assign Work directory. Empty path means a temporary directory
-x]]{@listfile|!wildcard}: eXclude filenames
-y: assume Yes on all queries

火山 发表于 2014-3-17 01:06:33

谢谢大大 抱走了哈

linminghe007 发表于 2016-10-13 16:48:53

谢谢楼主分享,学习了
页: [1]
查看完整版本: 【压缩】7z压缩解压工具以及控制台程序下载