ComfyUI > Nodes > ComfyUI-Path-Helper > Add Folder Advanced

ComfyUI Node: Add Folder Advanced

Class Name

Add Folder Advanced

Category
path_helper
Author
Billius-AI (Account age: 800days)
Extension
ComfyUI-Path-Helper
Latest Updated
2024-05-22
Github Stars
0.02K

How to Install ComfyUI-Path-Helper

Install this extension via the ComfyUI Manager by searching for ComfyUI-Path-Helper
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-Path-Helper in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Add Folder Advanced Description

Create customized folder paths with date/time options for organized file management.

Add Folder Advanced:

The Add Folder Advanced node is designed to enhance your file management capabilities by allowing you to create new folder paths with advanced customization options. This node is particularly useful when you need to organize files systematically, as it provides the ability to append a folder name to an existing path. Additionally, it offers the flexibility to include date and time information in the folder name, either as a prefix or postfix, which can be invaluable for maintaining chronological order or versioning. By utilizing this node, you can streamline your workflow, ensuring that your file directories are both organized and easily navigable.

Add Folder Advanced Input Parameters:

path

This parameter specifies the base directory path where the new folder will be created. It is crucial as it determines the starting point for the folder addition. The path should be a valid directory path on your system. There are no specific minimum or maximum values, but it must be a valid path string.

folder_name

The folder_name parameter allows you to define the name of the new folder to be added to the specified path. This is a string input, and it should be concise yet descriptive enough to identify the folder's contents or purpose. The default value is an empty string, and it does not support multiline input.

add_date_time

This parameter provides options to include date and time information in the folder name. You can choose from "disable," "prefix," or "postfix." Selecting "disable" will not add any date or time, while "prefix" and "postfix" will add the date and time at the beginning or end of the folder name, respectively. This feature is useful for organizing folders chronologically.

date_time_format

The date_time_format parameter allows you to specify the format in which the date and time should be added to the folder name. It uses standard Python datetime format codes, with the default being "%Y_%m_%d_%H:%M:%S." This flexibility enables you to customize the date and time representation to suit your organizational needs.

input_variables

This optional parameter allows you to pass additional variables that can be used to dynamically format the folder name. It accepts any type of input, providing a powerful way to customize folder names based on external data or conditions.

Add Folder Advanced Output Parameters:

PATH

The output parameter PATH represents the newly constructed folder path. This path includes the base directory, the specified folder name, and any optional date and time formatting. It is a string that can be used in subsequent operations to access or manage the newly created folder.

Add Folder Advanced Usage Tips:

  • Use the add_date_time parameter to automatically organize folders by creation date, which is particularly useful for projects that require version control or chronological sorting.
  • Customize the date_time_format to match your preferred date and time representation, ensuring consistency across your file management system.
  • Leverage the input_variables parameter to dynamically generate folder names based on project-specific data, enhancing the flexibility and adaptability of your file organization.

Add Folder Advanced Common Errors and Solutions:

Invalid path specified

  • Explanation: The path provided is not a valid directory path on your system.
  • Solution: Ensure that the path is correctly specified and exists on your system before using it in the node.

Unsupported date_time_format

  • Explanation: The date_time_format string contains invalid or unsupported format codes.
  • Solution: Refer to Python's datetime module documentation to ensure that your format string uses valid codes.

Folder name conflicts

  • Explanation: A folder with the same name already exists in the specified path.
  • Solution: Consider appending a unique identifier, such as a timestamp, to the folder name to avoid conflicts.

Add Folder Advanced Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-Path-Helper
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

Add Folder Advanced