Hitachi Vantara Pentaho Community Wiki
Skip to end of metadata
Go to start of metadata

Description

This step creates a standard ZIP archive using the options you specify in the dialog.

Options

Option

Description

Name of the job entry

The name of the job entry. This name has to be unique in a single job. A job entry can be placed several times on the canvas, however it will be the same job entry.

General

Source files

Option

Description

Get arguments from previous

This checkbox takes the filename specification from the result rows of a previous job entry.  This is what will be taken from the rows
The first field has to contain the filename or folder.
The second field should contain the inclusion wildcard
The third field should contain the exclusion wildcard
The fourth field should contain the target zip file (this can be different for each file)

Source directory

The source directory of the files to be zipped

Include wildcard

The wildcard (regular expression) of the files to include in the zip archive

Exclude wildcard

The wildcard (regular expression) of the files to exclude from the zip archive

Include sub-folders

Enable this option to search files in sub-folders

Zip file

Option

Description

Zip file name

The full name of the destination archive

Create parent folder

Create the parent folder if it doesn't exist

Include date in filename

Add the date to the file name

Include time in filename

Add the time to the file name

Specify date time format

Allows you to specify the date/time format mask,

Date time format

The date time format mask, like yyyy/MM/dd HHmmss

Show filename

Shows an example filename based on the options you specified

Advanced

Advanced

Option

Description

Compression

The compression level to be used (Default, Best Compression, Best speed)

If zip file exists

The action to take when there already is a file at the target destination.

After zipping

The action to take after zipping

Move files to

The target directory to move the source files to after zipping

Create folder

Create the folder to move to

Stored source path depth

This is the part of the source file path which is taken over in the ZIP file archive structure:
0 : /pentaho/work/transfer/input/project/file.txt
1 : file.txt
2 : project/file.txt
3 : input/project/file.txt
4 : transfer/input/project/file.txt
5 : work/transfer/input/project/file.txt
6 : pentaho/work/transfer/input/project/file.txt
7 : pentaho/work/transfer/input/project/file.txt
8 : pentaho/work/transfer/input/project/file.txt

Result file name

Option

Description

Add Zip file to result

Enable this option to add the target zip file(s) to the result

  • No labels