0 ×

Zip Files

KNIME File Handling Nodes version 3.6.1.v201808311941 by KNIME AG, Zurich, Switzerland

This node zips files into an archive. The path to the files has to be contained in the input table.

Options

Location column
The column that contains the location to the files that should be archived. The location has to contain the absolute path. It can either be a String or an URI.
Output format
Specifies the format of the output file.
zip
A zip file.
tar.gz
Tar file compressed with gzip.
tar.bz2
Tar file compressed with bzip2.
Output file
Path of the archive that will be created. You can use local filesystem paths or URL, given that they are allow for writing.
Path handling
Specifies how the file path shall be handled inside the archive.
Use full path
The full filepath will be used for every file.
Use only filename
Only the filename will be used, so the archive will contain no directories.
Truncate prefix
The given prefix will be cut off of the file paths inside the archive. To locate the files, the full path is still required in the input table.
Prefix directory
Prefix of the path that will be truncated.
If file exists...
Specifies the behavior if a file with the same name already exists.
Overwrite
Overwrites the whole file and ignores its content.
Append (Overwrite)
Appends the new files into the existing archive. It will overwrite files within the archive that have the same name as new ones.
Append (Abort)
Appends the new files into the existing archive. It will abort if the archive contains files that would need to be overwritten. In this case the old file will be retained as it is.
Abort
Will abort if the file already exists, while keeping the file untouched.

Input Ports

Has to have a column that contains the path to the files that should be archived.

Best Friends (Incoming)

Best Friends (Outgoing)

Workflows

Update Site

To use this node in KNIME, install KNIME File Handling Nodes from the following update site:

Wait a sec! You want to explore and install nodes even faster? We highly recommend our NodePit for KNIME extension for your KNIME Analytics Platform.