boxlang-ziplisted
Install: claude install-skill ortus-boxlang/skills
# BoxLang ZIP Archives
## Overview
BoxLang provides the `bx:zip` component for creating, extracting, listing, and
modifying ZIP archives. Supports compression levels, entry filtering, encryption,
and reading individual entries without full extraction.
## Creating Archives
```boxlang
// Create from directory
bx:zip action="zip"
file="#expandPath( '/temp/archive.zip' )#"
source="#expandPath( '/files/documents' )#"
// Overwrite existing
bx:zip action="zip"
file="#expandPath( '/temp/archive.zip' )#"
source="#expandPath( '/files' )#"
overwrite="true"
// Multiple sources with prefixes
bx:zip action="zip" file="#expandPath( '/temp/backup.zip' )#" {
bx:zipparam source="#expandPath( '/app' )#" prefix="app"
bx:zipparam source="#expandPath( '/config' )#" prefix="config"
bx:zipparam source="#expandPath( '/uploads' )#" prefix="uploads"
}
// Filter by pattern
bx:zip action="zip"
file="#expandPath( '/temp/pdfs.zip' )#"
source="#expandPath( '/documents' )#"
filter="*.pdf"
recurse="true"
// Compression level (0 = store, 9 = maximum)
bx:zip action="zip"
file="#expandPath( '/temp/compressed.zip' )#"
source="#expandPath( '/files' )#"
compressionLevel="9"
```
## Extracting Archives
```boxlang
// Extract all
bx:zip action="unzip"
file="#expandPath( '/temp/archive.zip' )#"
destination="#expandPath( '/extracted' )#"
overwrite="true"
// Extract specific entry
bx:zip action="unzip"
file="#expandPath( '/temp/archi