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_Duik_api.jsxinc, line 7741

Members

string

# static processPath

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

View Source DuAEF_Duik_api.jsxinc, line 7751

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_Duik_api.jsxinc, line 7765

The zip file
File