Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

util.walk_files extensions case insensitive #14879

Merged
merged 1 commit into from
Feb 11, 2024

Conversation

w-e-w
Copy link
Collaborator

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

Description

util.walk_files extensions case insensitive

Checklist:

@chuckkay
Copy link

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
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
6 checks passed
@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