Project Folder
Stop dumping every image in one giant output folder
- batch_no
- STRING
Default ComfyUI dumps every output into one ComfyUI/output folder, which is fine until you're two weeks into a project and can't tell Tuesday's experiment from last month's. "Project Folder [RvTools]" is the fix: it builds a dated, named subfolder path for each project and hands you that path as a string to feed your save nodes. One node, one string output, no pipe ceremony.
Here's the mechanism. It takes your project name, optionally prefixes or postfixes today's date, and optionally tacks on a per-batch subfolder. The path is built by joining components, not by touching the filesystem - nothing is created until something else actually saves into the path.
The inputs that matter:
project_root_name- your project's name, default "MyProject". This is the folder name that shows up under output.add_date_time-disable,prefix, orpostfix(default prefix). Prefix gives you2026-08-16/MyProject/..., so projects sort by date automatically. Postfix givesMyProject/2026-08-16/..., so the project name comes first. Pick one and stick with it; the pack's video side defaults to postfix.date_time_format- a strftime format, default%Y-%m-%d. Want timestamps per run instead of per day? Use%Y-%m-%d-%H%M%S. If the format string is invalid the node silently falls back to a sane default rather than crashing.create_batch_folder/batch_folder_name- toggles a per-batch subfolder, default namebatch_{}. The{}is filled by the optionalbatch_noinput.batch_no(optional) - the batch number, fed from a counter or loop. If it contains commas, the node splits them and fills multiple{}slots in the folder name.relative_path-true(default) returns./ProjectName/..., which is relative to the output directory and is what most save nodes expect. Setfalseand it returns the absolute path on disk.
The killer feature is the batch subfolder. If you're running a grid of seeds or prompts, feeding each run its own batch_no means every variation lands in its own numbered folder instead of one pile - which makes picking winners afterward dramatically less annoying.
Installing it
Ships in ComfyUI-RvTools_v2. ComfyUI Manager: search "ComfyUI-RvTools_v2". Or:
cd ComfyUI/custom_nodes
git clone https://github.com/r-vage/ComfyUI-RvTools_v2
Restart ComfyUI. Dependencies (torch, numpy, Pillow, opencv-python, pilgram, pynvml, piexif) install through Manager. No models, no keys.
Where people get burned
- It only builds a string. The folder isn't created until something saves into it. If your save node never runs, you'll wonder where the folder went.
- Relative vs absolute. With the default
relative_pathon, the string starts with./and is only meaningful relative to ComfyUI's output directory. Paste it into a file browser expecting a full path and it'll look broken - that's by design. - Deprecation. The RvTools v2 pack is unmaintained and the README points to the successor ComfyUI_Eclipse. This node is one of the genuinely useful ones, so it's a prime candidate to re-find in Eclipse.
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| project_root_name | STRING | MyProject | — |
| date_time_format | STRING | %Y-%m-%d | — |
| add_date_time | COMBO | prefix | 3 options: disable, prefix, postfix |
| create_batch_folder | BOOLEAN | false | — |
| batch_folder_name | STRING | batch_{} | — |
| relative_path | BOOLEAN | true | — |
| batch_noopt | * | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| STRING | STRING | — |