Namespace

DuZip

DuZip

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

View Source DuAEF_DuGR_api.jsxinc, line 8041

Members

string

# static processPath

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

View Source DuAEF_DuGR_api.jsxinc, line 8051

Methods

# static compressFolderContent(folder, archiveNameopt, wipeFolderopt) → {File}

Compresses the content of a folder
Parameters:
Name Type Attributes Default Description
folder Folder The folder to zip
archiveName string <optional>
folder.name + ".zip" The archive name
wipeFolder boolean <optional>
false Set to true to remove the original folder as soon as the zip is ready

View Source DuAEF_DuGR_api.jsxinc, line 8065

The zip file
File