ComfyUI Node
list dir
Lists the contents of a directory. This node returns a list of files and directories in the specified path. If 'files_only' is True, it only returns files. If 'dirs_only' is True, it only returns directories. If both are False, it returns all contents.
list dir
- entries
◄path►
◄files_onlyfalse►
◄dirs_onlyfalse►
CategoryBasic/Path
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| path | STRING | — | |
| files_onlyopt | BOOLEAN | false | — |
| dirs_onlyopt | BOOLEAN | false | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| entries | STRING | — |