unzip
Type: Plugin · Category: popular
Unzips a file into a directory.
This plugin supports a number of compression formats: 1. Zip files 2. Tar gz files.
The type of the file will be detected by the file extension, or
else you can force a type using the type parameter (tgz or
zip).
| Argument | Type | Description |
|---|---|---|
filename |
accessors.OSPath (required) | File to unzip. |
accessor |
string | The accessor to use |
filename_filter |
string | Only extract members matching this regex filter. |
output_directory |
string (required) | Where to unzip to |
type |
string | The type of file (default autodetected from file extension - zip or tgz or tar.gz). |
Required permissions: FILESYSTEM_WRITE, FILESYSTEM_READ
Platforms: macOS, Linux, Windows
Source: vql/tools/unzip.go