Repository: stable-diffusion-webui
Issue: [Bug]: Batch from directory > Recursive Folders has no override
Labels: bug-report

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What happened?



Recently batch processing was modified to include recursive subfolders which can be problematic for many established workflows and folder structures.  A recent request for this feature mentioned an override should be added however the implementation does not seem to include one.  (If there is an override somewhere it should be much clearer)

Original request...
https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/10988
(EDIT: I apologize if this qualifies as a duplicate issue as I am not very familiar with logging github issues)


### Steps to reproduce the problem

1. batch process a folder of images that has a subfolder
2. the subfolder will be processed as well



### What should have happened?

This should be an option and have an override.  The default behavior until now was to not process subfolders.   My previous workflows and folder structures will now be unusable because of this.

### Version or Commit where the problem happens

 v1.5.0 and up

### What Python version are you running on ?

Python 3.10.x

### What platforms do you use to access the UI ?

Windows

### What device are you running WebUI on?

Nvidia GPUs (RTX 20 above)

### Cross attention optimization

Automatic

### What browsers do you use to access the UI ?

Google Chrome

### Command Line Arguments

```Shell
set COMMANDLINE_ARGS=--xformers --api
```


### List of extensions

![image](https://github.com/AUTOMATIC1111/stable-diffusion-webui/assets/44064672/ce010b5c-9d92-4372-b08c-1890f76b1edc)


### Console logs

```Shell
remote: Enumerating objects: 68, done.
remote: Counting objects: 100% (68/68), done.
remote: Compressing objects: 100% (36/36), done.
remote: Total 68 (delta 37), reused 53 (delta 32), pack-reused 0
Unpacking objects: 100% (68/68), 82.08 KiB | 168.00 KiB/s, done.
From https://github.com/AUTOMATIC1111/stable-diffusion-webui
 * [new branch]        auro-autolaunch        -> origin/auro-autolaunch
   c10633f9..6a0d498c  dev                    -> origin/dev
 * [new branch]        multiple_loaded_models -> origin/multiple_loaded_models
Already up to date.
venv "H:\SD_Git2\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.9 (tags/v3.10.9:1dd9be6, Dec  6 2022, 20:01:21) [MSC v.1934 64 bit (AMD64)]
Version: v1.5.1
Commit hash: 68f336bd994bed5442ad95bad6b6ad5564a5409a

Installing requirements for Seed Travel

Launching Web UI with arguments: --no-half-vae --api --xformers
2023-08-02 07:03:02,232 - ControlNet - INFO - ControlNet v1.1.234
ControlNet preprocessor location: H:\SD_Git2\stable-diffusion-webui\extensions\sd-webui-controlnet\annotator\downloads
2023-08-02 07:03:02,316 - ControlNet - INFO - ControlNet v1.1.234
Loading weights [f0f8692551] from H:\SD_Git2\stable-diffusion-webui\models\Stable-diffusion\korvataro style_2020 steps.ckpt
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 11.4s (launcher: 4.2s, import torch: 2.9s, import gradio: 0.8s, setup paths: 0.7s, other imports: 0.7s, list SD models: 0.2s, load scripts: 1.2s, create ui: 0.4s, gradio launch: 0.3s).
Creating model from config: H:\SD_Git2\stable-diffusion-webui\configs\v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Applying attention optimization: xformers... done.
Model loaded in 4.3s (load weights from disk: 2.1s, create model: 0.4s, apply weights to model: 0.6s, apply half(): 0.4s, move model to device: 0.6s).
Will process 3 images, creating 1 new images for each.
100%|██████████████████████████████████████████████████████████████████████████████████| 16/16 [00:01<00:00, 10.78it/s]
100%|██████████████████████████████████████████████████████████████████████████████████| 16/16 [00:00<00:00, 18.05it/s]
100%|██████████████████████████████████████████████████████████████████████████████████| 16/16 [00:00<00:00, 17.87it/s]
Total progress: 100%|██████████████████████████████████████████████████████████████████| 48/48 [00:03<00:00, 14.82it/s]
Total progress: 100%|██████████████████████████████████████████████████████████████████| 48/48 [00:03<00:00, 16.96it/s]
```


### Additional information

_No response_