Skip to main content

Loop Repository

Synopsis​

This operator iterates over all IO Objects or Blob files in a repository and delivers their paths and names as macro to the inner operators.

Description​

This operator iterates over the IO Objects or Blob files in the specified reporitory (and subdirectories if the corresponding parameter is set to true). Each Object is delivered as IO Object or FileObject to the subprocess at the respective inner port.

Input​

input​

Output​

output​

Parameters​

repository folder​

Folder in the repository to iterate over

entry type​

Type of object in repository to loop.

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.

entry 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.

repository 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 folder macro​

Specifies the name of the macro containing the parent folder name 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).