Numerical Matrix Format
User Reference
COMPRESS array

MATRIX Array Level: 2

The COMPRESS array allows files and folders to be compressed (i.e zipped).
Available compression types include: Gzip, Tar, Zip, and Rar.

Note
RELATIVE paths are always preferred and much safer.
Fields in the COMPRESS array
Description
TYPE=NAME Assign Compression type to use. Choose from: Gzip Tar Zip Rar (Default: Zip)
SOURCE=FILE|FOLDER File or Folder location for the source path. The source path may be either Absolute or Relative. (Note: RELATIVE paths are always preferred and much safer).
DESTINATION=FILE File location for the resulting compressed file. The destination path may be either Absolute or Relative. (Note: RELATIVE paths are always preferred and much safer).
PASSWORD=VALUE Optional. Assign a case-sensative password.
NO_OVERWRITE Optional. Do not overwrite the Destination file(s). Default is Overwrite (existing destination files).
DELETE_SOURCE Optional. Remove source file/folder after compress. Default is to keep source file/folder.


Example COMPRESS Array:

# Compress all files from a folder into a single zipped file.
COMPRESS {
SOURCE=PowerPointDino/MyImages/
DESTINATION=PowerPointDino/Exports/AllImagesInOneFile.zip
}
# Compress a dxf file (using .tgz) and place into a backup folder.
COMPRESS {
TYPE=tar
SOURCE=xyz corp/odbfiles/2354464.dxf
DESTINATION=CAM_OUT/Backup folder/2354464.tgz
}