Skip to main content

UnPackFile

This Script is part of the Common Scripts Pack.#

Deprecated

Use the UnzipFile script instead.

Unpacks a file using the fileName or entryID to specify a file. Files unpacked will be pushed to the War Room and names will be pushed to the context.

Supported types include, 7z (.7z), ACE (.ace), ALZIP (.alz), AR (.a), ARC (.arc), ARJ (.arj), BZIP2 (.bz2), CAB (.cab), compress (.Z), CPIO (.cpio), DEB (.deb), DMS (.dms), GZIP (.gz), LRZIP (.lrz), LZH (.lha, .lzh), LZIP (.lz), LZMA (.lzma), LZOP (.lzo), RPM (.rpm), RAR (.rar), RZIP (.rz), TAR (.tar), XZ (.xz), ZIP (.zip, .jar) and ZOO (.zoo)

Script Data#


NameDescription
Script Typepython
TagsUtility, file

Inputs#


Argument NameDescription
fileNameThe name of the file to unpack.
entryIDThe entry ID of the attached packed file in the War Room.
lastPackedFileInWarroomThe packaged file extension in the set to look for the last of its kind in the War Room.

Outputs#


PathDescriptionType
ExtractedFilesThe list of file names which are extracted from the package.Unknown