Skip to content

util.walk_files extensions case insensitive#14879

Merged
AUTOMATIC1111 merged 1 commit intodevfrom
walk_files-extensions-case-insensitive
Feb 11, 2024
Merged

util.walk_files extensions case insensitive#14879
AUTOMATIC1111 merged 1 commit intodevfrom
walk_files-extensions-case-insensitive

Conversation

@w-e-w
Copy link
Copy Markdown
Collaborator

@w-e-w w-e-w commented Feb 9, 2024

Description

util.walk_files extensions case insensitive

Checklist:

@chuckkay
Copy link
Copy Markdown

Thanks for the quick turn around but * [new branch] walk_files-extensions-case-insensitive -> origin/walk_files-extensions-case-insensitive , didn't fix the problem.. i got a folder with a bunch of jpg's named like this DSC08696.JPG when i run a batch img2img on the folder generate fails after a few seconds and produces nothing.. unfortunitly windows explorer is a pain with changing the case of an extention.... but if i run this command with powershell in the folder [Get-ChildItem -Recurse -File | Where-Object { $.Extension -eq '.JPG' } | Rename-Item -NewName { $.BaseName + '.jpg' }] then the batch img2img works

@w-e-w
Copy link
Copy Markdown
Collaborator Author

w-e-w commented Feb 10, 2024

unfortunitly windows explorer is a pain with changing the case of an extention.... but if i run this command with powershell in the folder [Get-ChildItem -Recurse -File | Where-Object { $.Extension -eq '.JPG' } | Rename-Item -NewName { $.BaseName + '.jpg' }] then the batch img2img works

use Bulk Rename Utility

didn't fix the problem

that's very strange because I tested it and it did work on my PC

image

@AUTOMATIC1111 AUTOMATIC1111 merged commit 8605343 into dev Feb 11, 2024
@AUTOMATIC1111 AUTOMATIC1111 deleted the walk_files-extensions-case-insensitive branch February 11, 2024 05:29
@w-e-w w-e-w mentioned this pull request Feb 17, 2024
@pawel665j pawel665j mentioned this pull request Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants