Skip to content

Extract Compressed/Archive File to Files

In this Step, you can unzip the files from the archive.

Suported formats are: ZIP, RAR, TAR, GZ, BZ2.

How does the Step work?

You can choose an archive from the Files or enter the URL from where the archive is downloaded. Select where to save the unzipped files. You can choose the appropriate folder or enter the path to the folder. For example, the input directory is “files”.

If a file with the same name already exists, you can overwrite it or skip it.

Privacy options

Choose whether you want to save the file publicly or privately. If you use the overwrite feature, choose the file privacy option and leave the existing file private or overwrite its privacy.

Output Example

JSON
{
“folder”: “/zip-test/decompress”,
“skipped”: {
“count”: 2,
“files”: [
{
“filename”: “tutorail.txt”,
“extension”: “txt”,
“mimetype”: “text/plain”,
“size”: 11
},
{
“filename”: “help.docx”,
“extension”: “docx”,
“mimetype”: “application/vnd.openxmlformats-officedocument.wordprocessingml.document”,
“size”: 13193
}
],
“totalSizeKb”: 13204
},
“uploaded”: {
“count”: 1,
“files”: [
{
“filename”: “image.jpg”,
“fullPath”: “zip-test/decompress/image.jpg”,
“extension”: “jpeg”,
“mimetype”: “image/jpeg”,
“url”: “https://files.staging.api.onereach.ai/public/c1d91ff9-e7bf-464a-90d7-45fb9f2fc36f/zip-test/decompress/image.jpg”,
“public”: true,
“size”: 11639
}
],
“totalSizeKb”: 11639
}
}
{
“folder”: “/zip-test/decompress”,
“skipped”: {
“count”: 2,
“files”: [
{
“filename”: “tutorail.txt”,
“extension”: “txt”,
“mimetype”: “text/plain”,
“size”: 11
},
{
“filename”: “help.docx”,
“extension”: “docx”,
“mimetype”: “application/vnd.openxmlformats-officedocument.wordprocessingml.document”,
“size”: 13193
}
],
“totalSizeKb”: 13204
},
“uploaded”: {
“count”: 1,
“files”: [
{
“filename”: “image.jpg”,
“fullPath”: “zip-test/decompress/image.jpg”,
“extension”: “jpeg”,
“mimetype”: “image/jpeg”,
“url”: “https://files.staging.api.onereach.ai/public/c1d91ff9-e7bf-464a-90d7-45fb9f2fc36f/zip-test/decompress/image.jpg”,
“public”: true,
“size”: 11639
}
],
“totalSizeKb”: 11639
}
}