Categories

Versions

Loop Repository (AI Studio Core)

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 (IOObject)

Output

  • output (IOObject)

Parameters

  • repository folderFolder in the repository to iterate over
  • entry typeType of object in repository to loop.
  • filterSpecifies 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 stringIndicates which part of the file name is matched against the filter expression.
  • entry name macroSpecifies 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 macroSpecifies 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 macroSpecifies 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.
  • recursiveIndicates if the operator will also deliver the files / directories of subdirectories (resursively).