Nodes/AAA Metadata System/File Organizer
ComfyUI Node

File Organizer

A ComfyUI node in Eric/Images with 8 inputs and 4 outputs.

By EricRollei·Created 9 months ago·Updated 8 months ago· 12
File Organizer
    • status_message
    • files_processed
    • stats_json
    • log_output
    min_pixel_size512
    dimension_checkshortest_side
    subfolder_handlingorganize_each_subfolder
    sidecar_handlingkeep_all_sidecars_with_images
    folder_paths_input
    folder_paths_manual
    handle_small_imagesmove_to_below_min
    create_subfolderstrue
    CategoryEric/Images

    Inputs (8)

    NameTypeDefaultDescription
    min_pixel_sizeINT5121–4096Minimum pixel size for image dimension check
    dimension_checkCOMBOshortest_sideWhich dimension(s) to check against minimum
    subfolder_handlingCOMBOorganize_each_subfolderflatten_all: Move all files from subfolders to main type folders | organize_each_subfolder: Create type folders within each existing subfolder | ignore_subfolders: Only organize files in the main directory
    sidecar_handlingCOMBOkeep_all_sidecars_with_imageskeep_txt_with_images: Keep only .txt files with images (for captions), move .xmp/.json to sidecars folder | keep_all_sidecars_with_images: Keep all .txt/.xmp/.json files with images | separate_sidecars: Move all sidecars to separate sidecars folder
    folder_paths_inputoptSTRINGOptional: Folder paths from another node (like web scraper output)
    folder_paths_manualoptSTRINGManual input: One folder path per line to organize
    handle_small_imagesoptCOMBOmove_to_below_minWhat to do with images below minimum size
    create_subfoldersoptBOOLEANtrueCreate type subfolders (images, movies, text, other, sidecars, below_min)

    Outputs (4)

    NameTypeDescription
    status_messageSTRING
    files_processedINT
    stats_jsonSTRING
    log_outputSTRING