extract

extract ( string archivePath , string destinationFolder , string _type ) : void

Extract any archive

Example




	extract(path("desktop")"archive.zip", path("tmp")+"destination", "zip"); // Extract zip archive to destination folder

Parameters

archivePath

The path of the zip file

destinationFolder

on your disk

_type (optional)

The compression type which is tried if it exists
Here all types :
gz,gzip2,xz,pack200