Sending Data Between Metaframes
Output Filtering
The Source name or glob parameter lets you control which files are sent using glob patterns:
Pattern | Description | Example |
---|---|---|
** or empty | All files | Matches everything |
*.json | Files with specific extension | Matches data.json but not data/info.json |
**/*.json | Files with specific extension in any folder | Matches both data.json and data/info.json |
data/* | Files in a specific folder | Matches data/file.txt but not data/subfolder/file.txt |
**/report* | Files with specific name pattern in any folder | Matches report.csv , reports.xlsx , and data/report_final.pdf |
The table below illustrates the necessary output filter for passing certain files:
Output name | Output filter | Passed downstream? |
---|---|---|
any output | (empty string) | ✅ |
any output | ** | ✅ |
foo.bar | *.bar | ✅ |
dir1/foo.bar | *.bar | ❌ |
dir1/foo.bar | **/*.bar | ✅ |
dir1/foo.bar | */foo | ✅ |
Input Mapping
The Target file or folder parameter determines how files appear in the target metaframe:
Mapping Type | Definition | Result |
---|---|---|
Same Path (empty) | Leave target mapping empty | Files keep the same name and path structure |
Directory Prefix (ends with / ) | Specify a folder name with trailing slash | Files are placed in that folder in the target |
File Rename (doesn't end with / ) | Specify a filename | Source files are renamed to this single name |
The input part of the connection can be:
Option | Behavior |
---|---|
Empty | If empty, the filtered outputs are passed as inputs without modification to the path or name |
Directory name (ends with / ) | The directory name will be prepended to the full path of the input(s) |
File name (does not end with / ) | Upstream output(s) are renamed as the input file name. If multiple outputs match, then only one will be the input |