๐ Folder Search
FolderSearch
Scans a specified folder for files matching a specific pattern. Set Folder_Path to the absolute or relative (to ComfyUI's root folder) path of the directory you wish to scan. Set Search_Mask to the pattern you wish to match files to. '*' will match all characters, '?' will match a single character and '#' should match a single numeric character. Characters within [brackets] must all be matched unless the sequence begins with the '[!brackets]' character, which will exclude those characters instead. You can also specify an entire range to search for such as [a-z]. You may select Output_Type to be either the entire list of files that were found matching the pattern, or only the current file, in which case one file will be returned each time this node is executed, until all files have been processed, at which point the node will return an empty string and reset the search query. If Recursive is set to True, then subfolders within the main specified directory will also be scanned. If Return_Full_Path is set to True, found files will be returned with their full qualified path, otherwise only the filename and extension will be returned. You may optionally point Save_Output_To to a file to save the output of this node to a log file of your choice, which you could then process separately. HOVER OVER THE INPUTS AND OUTPUTS FOR MORE INFO.
Pack: ControlFlowUtils
custom_nodes.ControlFlowUtils
Inputs (8)
Outputs (1)
| Name | Type |
|---|---|
| output | * |