Skip to main content

Loop Zip-File Entries

Synopsis

This operator loops over the entries of a zip file.

Description

This operator loops over the entries of a zip file. Depending on the parameters loops only file and/or directory entries and filters the files by name. Each entry is delivered as FileObject to the subprocess at the respective inner port.

Input

file

input

Output

output

Parameters

filename

The zipfile over whose entries this operator iterates.

internal directory

The directory inside the zipfile from which the entries should be taken.

filter

Specifies a regular expression which is used as filter for the file and directory names, e.g. 'a.*b' for all files starting with 'a' and ending with 'b'. Ignored if empty.

filtered string

Indicates which part of the file name is matched against the filter expression.

file name macro

Specifies the name of the macro, which delievers the current file name without path. Use %{macro_name} to use the file name in suboperators.

file path macro

Specifies the name of the macro containing the absolute path and file name of the current file. Use %{macro_name} to address the file in suboperators.

parent path macro

Specifies the name of the macro containing the absolute path of the current file's directory. Use %{macro_name} to address the file in suboperators.

recursive

Indicates if the operator will also deliver the files / directories of subdirectories (resursively).

iterate over files

If checked, the operator will iterate over files in the given directory and set their path and name macros.

iterate over subdirs

If checked, the operator will iterate over subdirectories in the given directory and set their path and name macros.