Skip to main content

Extract Data Source File

Extract an archive file within a data source to another path in that data source or to another data source.

Syntax

extract data source <from data source reference> file "<from file>" [at path "<from path>"]
to [data source <to data source reference>] path "<to path>"
[with compression <compression>]

Parameters

from data source reference

String — Name of the data source that contains the archive.

from file

String — The archive file.

from path

String — If present, prefix the archive file path with the given path.

to data source reference

String — Name of the data source to extract the archive to. Default: extract the file within the same data source.

to path

String — Path to extract the archive to in the destination data source.

compression

String — Type of compression that the archive uses. Supported types: zip, gzip. Default: zip.