fast_compress_files
Compress files and directories into ZIP, TAR, or GZ/BZ2 formats with adjustable compression levels and exclusion patterns. Specify input paths and output file location for efficient file management and storage optimization.
Instructions
파일이나 디렉토리를 압축합니다
Input Schema
Name | Required | Description | Default |
---|---|---|---|
compression_level | No | 압축 레벨 (0=저장만, 9=최고압축) | |
exclude_patterns | No | 제외할 패턴들 (예: *.log, node_modules) | |
format | No | 압축 형식 | zip |
output_path | Yes | 출력 압축 파일 경로 | |
paths | Yes | 압축할 파일/디렉토리 경로들 |
Input Schema (JSON Schema)
{
"properties": {
"compression_level": {
"default": 6,
"description": "압축 레벨 (0=저장만, 9=최고압축)",
"maximum": 9,
"minimum": 0,
"type": "number"
},
"exclude_patterns": {
"default": [],
"description": "제외할 패턴들 (예: *.log, node_modules)",
"items": {
"type": "string"
},
"type": "array"
},
"format": {
"default": "zip",
"description": "압축 형식",
"enum": [
"zip",
"tar",
"tar.gz",
"tar.bz2"
],
"type": "string"
},
"output_path": {
"description": "출력 압축 파일 경로",
"type": "string"
},
"paths": {
"description": "압축할 파일/디렉토리 경로들",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"paths",
"output_path"
],
"type": "object"
}