file-archiver

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

File Archiver Tool

文件归档工具

Description

描述

Create and extract compressed archives (ZIP, TAR, GZIP) with optional password protection.
创建和解压带可选密码保护的压缩归档文件(ZIP、TAR、GZIP)。

Trigger

触发方式

  • /archive
    command
  • User requests file compression
  • User needs to extract archives
  • /archive
    命令
  • 用户请求文件压缩
  • 用户需要解压归档文件

Usage

使用方法

bash
undefined
bash
undefined

Create ZIP archive

Create ZIP archive

python scripts/file_archiver.py create --input folder/ --output archive.zip
python scripts/file_archiver.py create --input folder/ --output archive.zip

Extract archive

Extract archive

python scripts/file_archiver.py extract --input archive.zip --output extracted/
python scripts/file_archiver.py extract --input archive.zip --output extracted/

Create with password

Create with password

python scripts/file_archiver.py create --input folder/ --output secure.zip --password secret123
python scripts/file_archiver.py create --input folder/ --output secure.zip --password secret123

List archive contents

List archive contents

python scripts/file_archiver.py list --input archive.zip
undefined
python scripts/file_archiver.py list --input archive.zip
undefined

Tags

标签

zip
,
archive
,
compress
,
extract
,
tar
zip
,
archive
,
compress
,
extract
,
tar

Compatibility

兼容性

  • Codex: ✅
  • Claude Code: ✅
  • Codex: ✅
  • Claude Code: ✅