FileCompress
Compress a file.
yaml
type: "io.kestra.plugin.compress.FileCompress"
yaml
id: file_compress
namespace: company.team
inputs:
- id: file
description: File to be compressed
type: FILE
tasks:
- id: compress
type: io.kestra.plugin.compress.FileCompress
from: "{{ inputs.file }}"
compression: Z
Dynamic
YES
Possible Values
BROTLI
BZIP2
DEFLATE
DEFLATE64
GZIP
LZ4BLOCK
LZ4FRAME
LZMA
SNAPPY
SNAPPYFRAME
XZ
Z
ZSTD
The algorithm compression of the archive file
Dynamic
YES
The file's internal storage URI.
Format
uri
URI of the compressed file on Kestra's internal storage.