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
BROTLIBZIP2DEFLATEDEFLATE64GZIPLZ4BLOCKLZ4FRAMELZMASNAPPYSNAPPYFRAMEXZZZSTD
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.