RR_Date_Folder_Format
Stop dumping every save into output/ and get dated folders
- STRING
- STRING
- STRING
- STRING
- STRING
- STRING
Every SaveImage and VHS_VideoCombine has a filename_prefix input, and most people ignore it until their output folder is one thousand-deep wall of 00001.png files. RR_Date_Folder_Format is the fix: it's a string-builder node that spits out prefixes that file your saves into YYYY-MM-DD/<run>/ folders automatically. It's about the least glamorous node in this pack, and for organization-obsessed workflows it's the one that saves you daily.
How it works
It's deliberately boring. You feed it one integer, it reads the system date, and it returns six strings built from those two things:
2026-08-16/1lq_
2026-08-16/1_lq/lqimg_
2026-08-16/1hq_
2026-08-16/1_hq/hqimg_
2026-08-16/1facedetailer_
2026-08-16/1_facedetailer/facedetailerimg_
(where 1 is whatever integer you set). Each output pairs a video prefix with its corresponding image prefix, and they map to the three passes the author's workflow uses: lq for a quick low-quality draft, hq for the final render, and facedetailer for the FaceDetailer cleanup pass on top of the final. Set int_1 to a run or version number and each save lands in its own dated subfolder - output/2026-08-16/1_hq/hqimg_00001.png and so on.
Under the hood it's a strftime("%Y-%m-%d") plus your integer plus a suffix. No tokens, no API, no state. Wire any of the six strings into a filename_prefix input and the folder structure comes for free.
The input that matters
There's exactly one: int_1, an integer with a default of 0. That's your run number, and it can't be negative. Set it to 1 and you get 1lq_; set it to 0 and you get 0lq_ - it's always in there, so pick something that reads well in a filename. The six outputs are all strings, and they're effectively drop-in for any filename_prefix socket.
The date is whatever your system clock says at generation time, so it's also a crude "when did I run this" ledger. Good enough for archaeology, and you don't need to think about it.
Install
Same routine as every node in the pack. ComfyUI Manager, search "RenderRift" or "ComfyUI-RenderRiftNodes", or:
cd ComfyUI/custom_nodes
git clone https://github.com/RenderRift/ComfyUI-RenderRiftNodes
Restart ComfyUI. This is the one node in the pack that doesn't care about VideoHelperSuite - it's a pure string generator, so it works with plain SaveImage. Dependencies are just Pillow and tinytag, though this node effectively uses neither.
Troubleshooting
- Folders not being created - you plugged the string into the wrong input. It must be
filename_prefix, not the filename itself. - Filename looks odd - remember the output already includes a trailing
_and a slash (for the_lq,_hq,_facedetailervariants), so don't append your own separator. - It's always the same folder - that's expected; the folder is keyed to the date and run number, not to anything about the content.
Tiny tool, one job, does it cleanly - and unlike most of this pack, it's still useful in 2026 even if you've never touched AnimateDiff. A dated-folder habit is worth more than a lot of fancier nodes.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| int_1 | INT | 00–18446744073709550000 | — |
Outputs (6)
| Name | Type | Description |
|---|---|---|
| STRING | STRING | — |
| STRING | STRING | — |
| STRING | STRING | — |
| STRING | STRING | — |
| STRING | STRING | — |
| STRING | STRING | — |