I'm not completely sure the best way to do this though. I might have a title in the name as well and I don't want that all upper case, just the season, I would want the titles capitalized. I want to format it so it will be S01E12. For example, I have TV seasons with labels like s1e12. I plan to use string replacements to take care of this so I plan to put the junk text in a list and loop and removing it from the original string.ģ) I want to be able to format certain text a certain way. A lot of files I own have junk text in the name I want to remove. From what I gathered there's no property for this so it's going to probably involve splitting the file and getting the second to last index.Ģ) I want to be able to clean file names up. There's a couple of things I'd like to do:ġ) I want the ability to get the parent folder's name and rename the file based on it. I'm trying to work on methods to rename files.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |