bandzip命令行(windows环境)
bandzip命令行
一、bandzip介绍#
Bandizip是一个强大的多功能压缩文件管理工具,可提供很快的解压缩速度和其他各种实用功能。 这是一个免费的软件,其付费版本更是可以使用更多的实用功能
bandzip支持命令行参数输入,可以个性化处理文件以及文件夹(官方命令行参数介绍)
二、bandzip参数#
bz 7.17(Beta,x64) - Bandizip console tool. Copyright(C) 2021 Bandisoft
Usage:
bz <command> [<switches>...] <archive> [<files>...] [<path_to_extract>]
<Commands>
a : Add files to archive
x : eXtract files with full pathname
t : Test integrity of archive
d : Delete files from archive
c : Create new archive(or overwrite exist file)
e : Extract files without directory names
l : List contents of archive
v : Verbosely list contents of archive(ZIP format only)
rn: Rename files in archive
<Switches>
- Stop switches scanning
-l:<0...9> Set compression level (0:store, 5:default, 9:maximal)
-r- Disable recursion (default)
-r Enable recurse subdirectories
-aoa Overwrite All existing files without prompt
-aos Skip extracting of existing files
-aou aUto rename extracting file
(for example, name.txt will be renamed to name (2).txt)
-sfx:[{name}] Create SFX archive
-zopfli Use Zopfli as deflate compressor(very slow)
-p:{password} Set password
-o:{dir} Specify target folder
-y Assume Yes on all queries
-fmt:{fmt} Specify archive format
(zip, zipx, exe, tar, tgz, lzh, iso, 7z, gz, xz)
-v:{size} Specify volume size(-v:1000000 -v:1440k -v:100MB ...)
-target:auto Extract to target path smartly
-target:name Extract to archive-name folder of target path
三、范例演示#
压缩(文件夹)命令:bz c html.zip html\*
压缩多个文件命令:bz c html20220922.zip html\01.html html\02.html
解压命令:bz x -o:html01 html.zip
其它参数使用范例请参考官网介绍
作者:caojun97
出处:https://www.cnblogs.com/caojun97/p/16708425.html
版权:本作品采用「署名-非商业性使用-相同方式共享 4.0 国际」许可协议进行许可。
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· Manus的开源复刻OpenManus初探
· 三行代码完成国际化适配,妙~啊~
· .NET Core 中如何实现缓存的预热?
· 阿里巴巴 QwQ-32B真的超越了 DeepSeek R-1吗?