Easypt

unzip

..Root.compression.unzip

Decompress the zip archive. Under the hood:

OS command description
windows powershell -command "Expand-Archive -Path \"pathToZipFile\" -Force -DestinationPath \"destinationPath\" Expand-Archive
linux unzip -o "pathToZipFile" -d "destinationPath" unzip

(warning: commands prints own output)

Child of:

compression

Signatures:

Object, Callable, BlockCallable

Example:

import("network");
import("compression");

network.downloadFile("https://ci.appveyor.com/api/projects/antollo/easypt/artifacts/artifacts.zip?branch=master&job=Image%3A%20Visual%20Studio%202017", "update.zip");
compression.unzip("update.zip", "./");