thedyze / save-image-extended-comfyui

Extended Save node for ComfyUI
66 stars 6 forks source link

Create folders by date inside custom folder #17

Open LuisBurdallo opened 5 months ago

LuisBurdallo commented 5 months ago

What I am trying to do is to create folders inside folders. The main folder has a name for instance IPAdapter then the subfolder is the current date. I can do this in the regular save and video combine VHS node. Is there a way of doing this? The only thing I have gotten so far is changing the folder name prefix to an input and connecting Get Date Time String which makes every folder named by date. Not sure why this isn't working straight on the widget: %date:yyyy-MM-dd% or IPAdapter/%date:yyyy-MM-dd%

This is from VHS Combine which accepts it just fine. This is the full prefix which also adds the filename prefix.

AnimateDiff/%date:yyyy-MM-dd%/AD

Snippet_028

LuisBurdallo commented 5 months ago

I must be missing something and I am sure it should be easier for me to create a folder and subfolder but this seems to work. Please let me know if there is an easier way without having to connect anything to your node.

Snippet_030

audioscavenger commented 2 months ago

subsolders support has been added to the updated fork I maintain here. will add date/time syntax if you create a discussion here and give me some time