Skip to content

Compress

Compresses content using ar, gz, tar, tar.gz, tar.xz, xz, or zip.

Parameters

NameDescriptionAllowed ValuesRequiredDefault
formatFormat to compress to7z
ar
gz
tar
tar.Z
tar.gz
tar.xz
xz
z
zip
mediaTypeMedia type of the compressed content, overriding the default for the configured formatstring
nameName of the compressed contentstringcompressed

Output

Content

If the format is ar, tar, tar.gz, tar.xz, or zip, all content is compressed to a single content. The name of the content will be set from the name parameter and include the appropriate suffix.

If the format is gz or xz, all content is compressed individually. Each content will keep its name but will include the appropriate suffix.

Metadata

KeyDescription
compressFormatThe format used to compress

Errors

  • On no input content

Contact US