Nodes/ComfyLab Pack/File Queue (lab)
ComfyUI Node

File Queue (lab)

Loop through all files in folder matching the pattern(s).

By bugltd·Created 2 years ago·Updated about a year ago· 10
File Queue (lab)
  • index
  • filename
  • full_path
  • relative_path
  • subfolder
  • index
  • total
folder
pattern*
recursivetrue
with_extensiontrue
CategoryComfyLab/queue

Inputs (5)

NameTypeDefaultDescription
folderSTRINGfolder to scan
patternSTRING*file pattern(s) to match, e.g. '*.txt' or 'prefix*'. multiple patterns can be defined, separated by a comma
recursiveBOOLEANtruescan recursively?
with_extensionBOOLEANtruekeep or remove file extension
indexoptQUEUE_STATUScurrent queue status

Outputs (6)

NameTypeDescription
filenameSTRINGfilename
full_pathSTRINGfull path
relative_pathSTRINGrelative path
subfolderSTRINGsubfolder (relative)
indexINTcurrent index
totalINTtotal files