ComfyUI Node
File Organizer
A ComfyUI node in Eric/Images with 8 inputs and 4 outputs.
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)
| Name | Type | Default | Description |
|---|---|---|---|
| min_pixel_size | INT | 5121–4096 | Minimum pixel size for image dimension check |
| dimension_check | COMBO | shortest_side | Which dimension(s) to check against minimum |
| subfolder_handling | COMBO | organize_each_subfolder | flatten_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_handling | COMBO | keep_all_sidecars_with_images | keep_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_inputopt | STRING | Optional: Folder paths from another node (like web scraper output) | |
| folder_paths_manualopt | STRING | Manual input: One folder path per line to organize | |
| handle_small_imagesopt | COMBO | move_to_below_min | What to do with images below minimum size |
| create_subfoldersopt | BOOLEAN | true | Create type subfolders (images, movies, text, other, sidecars, below_min) |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| status_message | STRING | — |
| files_processed | INT | — |
| stats_json | STRING | — |
| log_output | STRING | — |