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

Members

string

# static processPath

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

View Source DuAEF.jsxinc, line 9243

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

The zip file
File