File Manipulation - Decompress Files
Overview
Decompress a single archive using ZIP, TAR, TAR.GZIP, or TAR.BZ2 into a single folder containing all compressed files.
Be sure you know what type of compression was used on the file originally! There are many instances where a file might end in .zip
but be compressed using .gzip
(or other methods).
If the archive contains only a single file, the New File Name
field can be used to rename it. Otherwise, if the archive contains multiple files, it is recommended to leave this field blank to retain the original file and folder names.
Variables
Name | Reference | Type | Required | Default | Options | Description |
---|---|---|---|---|---|---|
Compression Type | MANIPULATION_COMPRESSION_TYPE | Select | ✅ |
| .zip: .tar: .tar.bz2: .tar.gz: | Type of compression used to decompress the archive. |
Local File Name | MANIPULATION_SOURCE_FILE_NAME | Alphanumeric | ✅ |
| - | Name of the target compressed archive on Platform. |
Local Folder Name | MANIPULATION_SOURCE_FOLDER_NAME | Alphanumeric | ➖ | - | - | Name of the local folder on Platform where the target compressed file lives. If left blank, will look in the home directory. |
New File Name | MANIPULATION_DESTINATION_FILE_NAME | Alphanumeric | ➖ | - | - | What to name the newly decompressed file on Platform. Only takes effect if a single file is being decompressed. |
New Folder Name | MANIPULATION_DESTINATION_FOLDER_NAME | Alphanumeric | ➖ | - | - | Folder where the newly decompressed file(s) should be created on Platform. Leaving blank will place the archive's contents in the home directory. If the folder does not already exist, it will be created. |