ControlTier > controltier-core
 

extract

Command Reference

Description

Retrieve an archived resource and extract it

Retrieves the resource from the WebDAV and extracts it to the specified directory.

The archive extraction support is based on currently installed modules of the Package type.

static: This command can be run outside of an object context.

Usage

ctl -m davutil -c extract [-clean] -dir <> [-password <>] [-type <zip>] -url <> [-username <>] [-verbose]

Options

Option Description Type Default
clean Delete all files and subdirectories of dir, without dir itself. boolean
dir destination directory string
password DAV user name string ${entity.attribute.password}
type archive type string zip
url resource url

URL to the resource. Accepts the dav:// shorthand to the framework.webdav.uri.

string
username DAV user name string ${entity.attribute.username}
verbose Verbose mode boolean