Compression ArchiveDecompress

Compression ArchiveDecompress

Certified

Extract files from an archive

Reads an archive from internal storage, optionally decompresses the stream (for example GZIP over TAR), and writes each entry back to storage with metrics for total size and file count. Entry names with spaces are stored using underscores.

yaml
type: io.kestra.plugin.compress.ArchiveDecompress
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
Possible Values
ARARJCPIODUMPJARTARZIP

Archive container format to create

Required archive format. Compression supports AR, CPIO, JAR, TAR, and ZIP; ARJ and DUMP are extract-only and will fail on compression.

Internal storage URI of the archive

Possible Values
BROTLIBZIP2DEFLATEDEFLATE64GZIPLZ4BLOCKLZ4FRAMELZMASNAPPYSNAPPYFRAMEXZZZSTD

Optional compressor applied to the archive stream

Use a single-file compressor such as GZIP alongside TAR. Leave null to store the archive uncompressed. Brotli, Deflate64, and Snappy variants are decode-only and will fail during compression.

Reference (ref) of the pluginDefaults to apply to this task.

SubTypestring

URIs of decompressed files on Kestra's internal storage

Number of files decompressed

Total size of decompressed files in bytes