![]() |
Production Ready Macros for SAS Application Developers
https://github.com/sasjs/core
|
Unzips a zip file. More...
Go to the source code of this file.
Opens the zip file and copies all the contents to another directory. It is not possible to retain permissions / timestamps, also the BOF marker is lost so it cannot extract binary files.
Usage:
filename mc url "https://raw.githubusercontent.com/sasjs/core/main/all.sas"; inc mc;
mp_unzip(ziploc="/some/file.zip",outdir=/some/folder)
ziploc= | fileref or quoted full path to zip file ("/path/to/file.zip") |
outdir= | directory in which to write the outputs (created if non existant) |
Definition in file mp_unzip.sas.