Nodes/select_folder_path_easy/Select Folder Path Easy
ComfyUI Node

Select Folder Path Easy

Stop dumping every render into one ComfyUI_00001_.png folder

By Umikaze-job·Created 3 years ago·Updated 2 years ago· 7
Select Folder Path Easy
    • STRING
    folder_nameMy_File
    file_nameimage
    time_format%Y-%m-%d

    By default, ComfyUI's Save Image node throws every output into the same output/ folder with names like ComfyUI_00001_.png, ComfyUI_00002_.png, and so on forever. Fine for a quick test, miserable once you're actually iterating - a hundred generations in and you can't tell which batch was which model, which day, or which prompt. Select Folder Path Easy is a tiny, single-purpose node that fixes exactly that one problem: it builds a clean folder/file path string you can hand straight to Save Image, so your outputs land somewhere organized instead of one giant undifferentiated pile.

    That's the whole pitch. It doesn't touch pixels, doesn't do anything clever with metadata, doesn't compete with the more featureful save nodes out there (Save Image Extended and friends add EXIF/prompt embedding on top of the path logic - this one doesn't). It's a string builder, and it's good at being small.

    How it works

    The node takes three plain text widgets and mashes them into one output string shaped like a path: a folder name, a date-stamped subfolder (formatted however you tell it to), and a file name. That string is exactly what ComfyUI's filename_prefix input expects. ComfyUI already treats a / inside filename_prefix as a subfolder separator - that's the whole trick most "organize my outputs" nodes rely on, this one included, it just saves you from typing and remembering the format string by hand every session.

    The inputs and outputs that matter

    There are only three inputs, all required, all simple text fields:

    • folder_name (default My_File) - the top-level folder your images land in under output/.
    • file_name (default image) - the base name for each file. ComfyUI appends its own running counter, so you end up with something like image_00001_.png.
    • time_format (default %Y-%m-%d) - a standard Python strftime format string for a date-stamped subfolder. Leave the default and you get a new folder per day automatically; change the format if you want per-hour or per-month grouping instead.

    One output, a plain STRING. That's it - no image passthrough, no preview. You wire that string into the filename_prefix input on a Save Image node.

    How to install it

    Search "select_folder_path_easy" in ComfyUI Manager and install, or do it by hand:

    cd ComfyUI/custom_nodes
    git clone https://github.com/Umikaze-job/select_folder_path_easy
    

    Restart ComfyUI. That's the entire install - the README lists no requirements.txt, no model downloads, nothing to configure. It's pure Python string formatting, so there's nothing to break dependency-wise, which is genuinely refreshing after installing anything with a torch or transformers pin in it.

    Wiring it up

    This is the one step people actually get stuck on, because it's not obvious from the node graph alone: filename_prefix on Save Image is a widget, not an input socket, until you convert it. Right-click the Save Image node, choose "Convert filename_prefix to input" (older ComfyUI frontends phrase this slightly differently, but the option is there), and then connect the STRING output of Select Folder Path Easy into it. Skip that step and you'll have a perfectly good node sitting in your graph with nowhere to plug it in - that's the single most common "why doesn't this do anything" moment with this pack.

    Common issues & troubleshooting

    The wire won't connect. You forgot to convert filename_prefix to an input first - see above. The socket doesn't exist until you do.

    Nothing changed about where files save. Double-check the connection actually landed on filename_prefix and not some other input, and confirm you didn't leave a stray literal value in the widget that's overriding the incoming string (converting to input should clear the widget, but it's worth a glance).

    You want more than folder organization - embedded prompts, model name, seed in the filename, JPEG/WebP output, that kind of thing. This node deliberately doesn't do any of that. If you need it, look at a fuller save node (Save Image Extended is the one people point to most often for pulling model/LoRA names into the filename) and either replace this node or feed its output into that one's prefix instead - they're not mutually exclusive.

    Folders aren't nesting the way you expect. Remember folder_name, the date subfolder, and file_name combine into one prefix string with ComfyUI doing the actual folder-creation via the / characters in it - if your output structure looks off, it's almost always the time_format string producing something you didn't expect (typo'd % directive, or a format that happens to include a /), not the node itself misbehaving.

    Categoryumikaze

    Inputs (3)

    NameTypeDefaultDescription
    folder_nameSTRINGMy_File
    file_nameSTRINGimage
    time_formatSTRING%Y-%m-%d

    Outputs (1)

    NameTypeDescription
    STRINGSTRING