Unzip File

This playbook checks whether a file has an extension that supports unzipping, and unzips the file.

Common Playbooks · 7 tasks · 3 inputs · 2 outputs

Inputs

  • File — A file object.
  • Password — The password used to protect the zipped file. Required for unzipping password-protected files.
  • ZipTool — The tool used to unzip the file. The options are: 7z, zipfile.

Outputs

  • ExtractedFiles — Files that were unzipped.
  • File — File objects - includes the zipped file and any unzipped files.

Flowchart

yes Start Start No File / Unsupported File No File / Unsupported File Is there a zipped file? Is there a zipped file? Unzip file - UnzipFile Unzip file UnzipFile Save zip file in a separate key - Set Save zip file in a separa... Set Zip Extraction Zip Extraction Done Done