extract

Extracts files from the specified archive in the download folder (__Download) and leaves the results in the same folder.

An archive file is similar to a compressed tar file. IBM BigFix uses a tool called Archivewriter to construct the archive. This can be useful for copying an entire directory to a computer, which is often required by installers that contain multiple files along with a setup executable. There is a wizard in the IBM BigFix Console that facilitates the distribution of directories that use this kind of archive.

As of version 8.2, this command also allows you to specify a target directory with an optional second argument.

Syntax

extract <Archive File> [<Destination_Directory>]

Where the destination directory is optional and defaults to the __download directory.

Examples

extract InstallMyApp.zip

Extracts the constituent files of InstallMyApp in the __Download folder, places the results back in the __Download folder and deletes the original InstallMyApp file.

extract InstallMyApp.zip "d:/temp"

Same as above, but specifying a target directory.

Note: There should be no quotes around the filename, even if there is whitespace in the name. This is to be consistent with systems that allow quotes as valid filename characters.

Version 5.1 and above