Namespace: DuZip

DuZip

Zip methods. This lib needs the 7zip command line tool 7za.exe to be located next to the script on Windows.

Members

staticDuZip.processPathstring

The path to 7za.exe or 7z.exe (windows only, mac uses the internal command 'zip')

Methods

staticDuZip.compressFolderContent(folder, archiveName, wipeFolder){File}

D:/DEV_SRC/RxOT/DuAEF/DuESF/tools/build/output/DuESF.jsxinc, line 6682
Compresses the content of a folder
Name Type Default Description
folder Folder The folder to zip
archiveName string folder.name + ".zip" optional The archive name
wipeFolder boolean false optional Set to true to remove the original folder as soon as the zip is ready
Returns:
Type Description
File The zip file