ComfyUI Node
File Queue (lab)
Loop through all files in folder matching the pattern(s).
File Queue (lab)
- index
- filename
- full_path
- relative_path
- subfolder
- index
- total
◄folder—►
◄pattern*►
◄recursivetrue►
◄with_extensiontrue►
CategoryComfyLab/queue
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| folder | STRING | folder to scan | |
| pattern | STRING | * | file pattern(s) to match, e.g. '*.txt' or 'prefix*'. multiple patterns can be defined, separated by a comma |
| recursive | BOOLEAN | true | scan recursively? |
| with_extension | BOOLEAN | true | keep or remove file extension |
| indexopt | QUEUE_STATUS | current queue status |
Outputs (6)
| Name | Type | Description |
|---|---|---|
| filename | STRING | filename |
| full_path | STRING | full path |
| relative_path | STRING | relative path |
| subfolder | STRING | subfolder (relative) |
| index | INT | current index |
| total | INT | total files |