Decompress File

 

Updated: May 13, 2016

Applies To: System Center 2012 SP1 - Orchestrator, System Center 2012 - Orchestrator, System Center 2012 R2 Orchestrator

The Decompress File activity decompresses the files contained in a zip archive file. You can extract files from zip archives that are downloaded using email or FTP.

Before you configure the Decompress File activity, you need to determine the following:

  • The archive file name that you want to decompress.

  • The files names within the archive that you want to extract.

Use the following information to configure the Decompress File activity.

Details Tab

SettingsConfiguration Instructions
FileType the path of the archive file that you want to extract files from.
Files to extractType the name of the file that you want to extract. You can use the * and ? wildcards to specify the file name. These wildcards behave in the same way as in the Windows Command Prompt.
FolderType the folder name to which the files will be extracted, or click the ellipsis (...) button and browse for it.
Reproduce treeSelect this option to extract the files to the same relative paths that they were saved in. To use this feature, the relative paths must have been stored in the zip archive when it was created.
If the destination file existsSelect the action that you want to take if a file with the same name as the file being extracted exists in the destination folder:

 Create a file with a unique name: Select this option to append a value to the filename to create a unique filename that does not conflict with an existing filename.

 Overwrite: Select this option to overwrite the existing file with the file that you are extracting.

 Fail: Select this option to cause the Decompress File activity to fail if the file name already exists.

Published Data

The following table lists published data items.

ItemDescription
Archive name and pathThe name of the archive file that was decompressed.
Number of files within archiveThe total number of files that are inside the archive file.
Size of archiveThe size of the archive file.
Size of the decompressed filesThe total size of the files decompressed.
Show: