I have been working to clean up some of my ebook files. Most are in the format:
Author - Title.ext
However, some are in the format:
Title - Author.ext
I'd like to create a quick rename script (that I can attach to a button on my toolbar) to swap the author and title portions of the filename. Any suggestions?
And to add a bit of complexity, sometimes the author is listed Firstname Lastname while other times it is Lastname, Firstname. Though I actually prefer the Lastname, Firstname schema, the vast majority of the books are Firstname Lastname. Thus, to be consistent, I usually make that change as well. Thus, a script (standalone would probably work better) that could take:
Thanks, John. I'll try these RE and let you know if I have any problems. I appreciate the help (for some reason, I'm still having a hard time wrapping my brain around how to use RE).
And Silly question #2: On the first rename dialog (to switch from Last, First - Title to First Last - Title), the RE adds a space before the Firstname in the renamed file. How do I edit the RE to eliminate this extra space?
Go into customize mode, create a new button, then add the preset argument to it along with the name of the script preset you want to use. (See screen shot below).