Sign In

One-Click scripts to organize Loras in sub-folders

10

One-Click scripts to organize Loras in sub-folders

Bottom Text

If you're like me and are an insane LoRa hoarder, you know it gets difficult to find your Loras in sub-folder "characters illustrious", "clothing illustrious", "characters pony", etc. And moving them by hand is troublesome when they are usually 3-4 files making it hard to see thumbnails and select the files to move them every single time. So I've forged by sweat and blood (asked ChatGPT) a bunch of scripts that will:

1) In "Source folder" (relative to script location)
2) Detect tag, creator name, trained word, or all three (+ subfolders)
3) Move all matches to a new or existing subfolder


TL:DR Example

"illus characters" > "one piece" > "OnePiece": Will move all loras with "one piece" to "OnePiece" subfolder


Download the script files from attachments. >>>>>>>>>>>>>>>>>>>
You probably need to have python installed to be able to run these.

I mostly use "lora_organizer_by_tagandtrainedword_w_subdir", it also searches on the model name. Just be careful when using extremely low character count filters, for example, by using "characters" > "fur" > "Furry", "Furiosa" will incorrectly be moved from "characters" to the "Furry" folder.

Hopefully it'll be as useful to you as it was to me, my folders are insanely organized now (I dindn't know what else to do to get more disk space, and deleting loras was impossible with everything so disorganized)
I don't use the ray thingy to buy models so don't give me any.

Top Text

10