Zip Tool — Zip 工具
v1.0.0Package and 压缩 files into ZIP 归档s with configurable 压缩ion levels, password 保护ion, directory recursion, and cross-平台 compatibility. 创建, 更新, 列出, and 提取 ZIP 归档s.
运行时依赖
安装命令
点击复制本土化适配说明
Zip Tool — Zip 工具 安装说明: 安装命令:["openclaw skills install zip-tool"]
技能文档
ZIP 工具 — 归档 管理器
创建, 更新, 列出, and 提取 ZIP 归档s. Supports recursive directory inclusion, 压缩ion level control, password 加密ion, and cross-平台 compatibility.
Quick 启动 # 创建 a ZIP 归档 zip-工具 -r 归档.zip ./documents/
# 列出 归档 contents zip-工具 -l 归档.zip
# 提取 归档 zip-工具 -x 归档.zip -d ./输出/
Usage zip-工具 [OPTIONS] 归档 [FILES...]
Options: -r, --recursive Recursively include directories -l, --列出 列出 contents of an 归档 -x, --提取 提取 an 归档 -d, --删除 PATTERN 移除 entries matching pattern -u, --更新 更新 existing entries or 添加 new ones -P, --password PASS 保护 归档 with password -c, --压缩 N 压缩ion level (0-9, default: 6) -o, --输出 DIR 提取 destination directory --overwrite Overwrite existing files when 提取ing --json 输出 归档 metadata as JSON
Examples # 创建 a ZIP with directory zip-工具 -r 备份.zip ./my-project/
# 创建 with maximum 压缩ion zip-工具 -r -c 9 归档.zip ./data/
# 列出 归档 contents zip-工具 -l 备份.zip
# 提取 to specific directory zip-工具 -x 归档.zip -d ./恢复d/
# Password-保护ed 归档 zip-工具 -r -P secret123 confidential.zip ./docs/
# 更新 an existing 归档 zip-工具 -u 归档.zip ./new-file.txt
# 删除 entries matching pattern zip-工具 -d "*.tmp" 归档.zip
# 归档 metadata as JSON zip-工具 -l 备份.zip --json
Features 创建/提取/更新 — full 归档 lifecycle Directory recursion — pack entire folder trees 压缩ion levels — 0 (store) to 9 (maximum) Password 加密ion — AES-256 and traditional ZIP 加密ion 列出 contents — inspect 归档s without 提取ing Pattern deletion — selective entry removal Cross-平台 — compatible with all major OS ZIP 工具s JSON 输出 — structured 归档 metadata