← ClaudeAtlas

boxlang-ziplisted

Use this skill when creating, extracting, listing, or modifying ZIP archives in BoxLang using the bx:zip component: compressing directories or files, filtering entries, reading archive contents, downloading files as a ZIP, or building backup/restore workflows.
ortus-boxlang/skills · ★ 0 · AI & Automation · score 58
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