ArchiveDecompress ArchiveDecompress

yaml
type: "io.kestra.plugin.compress.ArchiveDecompress"

Decompress an archive file.

Examples

yaml
id: archive_decompress
namespace: company.team

inputs:
  - id: file
    description: Compressed file
    type: FILE

tasks:
  - id: archive_decompress
    type: io.kestra.plugin.compress.ArchiveDecompress
    from: "{{ inputs.file }}"
    algorithm: ZIP
    compression: GZIP

Properties

algorithm

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️
  • Possible Values:
    • AR
    • ARJ
    • CPIO
    • DUMP
    • JAR
    • TAR
    • ZIP

The algorithm of the archive file

from

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️

The file's internal storage URI.

compression

  • Type: string
  • Dynamic: ✔️
  • Required:
  • Possible Values:
    • BROTLI
    • BZIP2
    • DEFLATE
    • DEFLATE64
    • GZIP
    • LZ4BLOCK
    • LZ4FRAME
    • LZMA
    • SNAPPY
    • SNAPPYFRAME
    • XZ
    • Z
    • ZSTD

The compression used for the archive file. Some algorithms focus on compressing individual files (for example GZIP), while others compress and combine multiple files into a single archive. The single-file compressor is often used alongside a separate tool for archiving multiple files (TAR and GZIP for example)

Outputs

files

  • Type: object
  • SubType: string
  • Required:

URI of the decompressed archive file on Kestra's internal storage.

Was this page helpful?