Nodes/ComfyUI LC123 Nodes/LC Easy Folder πŸ“‚
ComfyUI Node

LC Easy Folder πŸ“‚

Stop drowning in a flat output folder

By lonecatone23Β·Created 2 months agoΒ·Updated 3 days agoΒ· 18
LC Easy Folder πŸ“‚
    • filename_prefix
    β—„folderDraftsβ–Ί
    β—„prefixTestβ–Ί
    β—„suffixβ–Ί
    β—„timestamp%Y-%m-%dβ–Ί
    β—„path_separatorautoβ–Ί

    ComfyUI's default output folder is where good workflows go to become ComfyUI_00047_.png and vanish. LC Easy Folder (LCEasyFolder) is the LC123 pack's fix: it builds a filename_prefix string for the native Save Image node - folder, prefix, suffix, and timestamp - and actually creates the folder under your output directory as part of the job. No extra save node, no replacing your existing Save Image, no Python.

    It's a LC123/io utility, and it's the single least-glamorous node in this pack that saves you a real amount of pain. If you've ever wanted "every run lands in output/2026-08-26/drafts/ with a timestamped name," this is that.

    How it works

    One output: filename_prefix (STRING), which you wire straight into the filename_prefix input of the built-in Save Image node. The inputs:

    • folder - the base folder under Comfy's output directory (default "Drafts"). The node ensures it exists via os.makedirs; separators are appended for you.
    • prefix - the filename start (default "Test").
    • suffix - optional extra text.
    • timestamp - a format dropdown: none, %Y-%m-%d, %Y-%m-%d-%H%M%S, %Y%m%d, %Y%m%d_%H%M%S, %Y-%m-%d_%H-%M-%S, or %H%M%S.
    • path_separator - auto (OS default), backslash, or slash. Useful when you share workflows across Windows and Linux.

    The assembled name joins prefix, suffix, and timestamp with underscores, so a run becomes something like Drafts/portrait_v2_2026-08-26_143022.png.

    Why it's better than typing it in

    Three reasons. First, folders are created for you - the native Save Image just writes into the path, and if the folder doesn't exist you get a confusing failure; this removes that whole class of error. Second, it sanitizes illegal path characters in the folder and prefix (the source runs every part through a _sanitize), so a bad character in your naming scheme can't silently break the save. Third, it's a value node - change the folder once and every Save Image wired to it follows, which is the one-source-of-truth pattern the plumbing docs hammer on.

    Install

    Part of ComfyUI_LC123_nodes:

    cd ComfyUI/custom_nodes
    git clone https://github.com/lonecatone23/ComfyUI_LC123_nodes
    

    or via ComfyUI Manager, then restart. It only uses ComfyUI's own folder_paths - no dependencies, no models.

    Honest caveat: the pack is a niche utility collection with almost no community discussion, and this node's behavior is exactly what the README's save-paths table says it is. If you want subfolders by date, set folder to %Y-%m-%d-style… actually, no - folder is a literal string, not a format. The timestamp dropdown is where the dynamic part goes. That distinction is the one thing people get wrong on first use.

    CategoryLC123/io

    Inputs (5)

    NameTypeDefaultDescription
    folderSTRINGDraftsBase folder under the Comfy output directory. Separator is appended automatically.
    prefixSTRINGTestFilename prefix.
    suffixSTRINGFilename suffix (optional).
    timestampCOMBO%Y-%m-%dTimestamp format appended to the name. Choose none to omit.
    path_separatorCOMBOautoPath separator style. auto uses the OS default.

    Outputs (1)

    NameTypeDescription
    filename_prefixSTRINGβ€”