Synopsis
This operator iterates over all files in a directory and delivers their paths and names as macro to the inner operators.
Description
This operator iterates over the files in the specified directory (and subdirectories if the corresponding parameter is set to true).
Input
- in 1:
Output
Parameters
- directory: Specifies the directory to iterate over.
- 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'.
- 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.