Filling the request from this thread I present the Library Organizer script.
This is heavily based off off wadegiles's Guided eComic file renaming - full GUI script and uses much code from it. Credit goes to wadegiles for creating his script in the first place. However this script extends his to easily managing folders as well.
Included is four scripts:
Configure Library Organizer: This is the GUI only, it does not rename or change any of your book files. Find it in the File>Automation menu.
Library Organizer: This is the full script. It shows the GUI and then moves the selected files based on your reordering template.
Library Organizer (Quick): This script uses your last saved settings to quickly move the selected books.
Library Organizer - Undo last move This script undoes the last, and only the last, move operation you made this this script.
The GUI contains options to use or not use directories and to use or not use file renaming.
A live preview is shown when creating your template. This uses the data from the first book you selected, or in the Configure script it uses a random book from your library.
There is an option to replace empty data values with a default value. For example if Format is in your pattern and the book's format field is empty you can specify what to put in instead.
The script will attempt to clean up empty folders as best it can (now optional with excluded folders).
Download: Version 2.1.11
Added Rating, Community Rating and Custom Values
Added fields: Day, AddedDate, ReleasedDate, EndMonth and EndYear
(Requires ComicRack 0.9.161 or above)
Fixes non-integer numbers messing up the automatic padding feature.
Fixes an error when handling an error that occurs when moving files.
Restored default templates for new users.
Fixed saving empty illegal characters
Added automatic padding to number fields. (Use a padding of 0)
Fix for a small error when logging when a folder failed to be created.
Bugfix: Fixed error when the first letter field is typed manually into the template
Bugfix: Should no longer overwrite profiles on when updating.
New: Added a script for startup. Disabled by default. When enabled it will organize every book in the library on startup.
New: Added fields First Issue Number and Last Issue Number.
Any suggestions, comments and feature requests are welcome. Please post any problems you have. (now also a issue tracker on the bitbucket issue tracker)
I am the first to thank you!... I guess this entitles me to ask for new features ...!
This is my suggestion: could it be possible to "move and rename" the covers for fileless comics as if they were normal comics (I guess this would require to identify the image file, rename & relocate it as the rest of the ecomics, and then link the original comic cover to this new file). This is in your TODO list, I just want to support that feature!
By the way, for all those new to this, I would like to remind that scripts like these require an extremely well-maintained library with all the metadata filled in. So, please first run the ComicVine Scraper on your collection & then use this script.
My one concern though is that I like to keep One-Shots and 1 Volumes separate from series in their own subfolder. Is there a way I can still manage this?
Ideally, such an 'exclude' function ought to be in the script by default.. hopefully later updates will add this..
Till then, this is the workaround..
The library organizer sorts files that you select in the browser window. So, make a smart list that excludes the folders that you want to keep separate. Select all eComics in this smart list and run the library organizer. The One-Shots and 1 Volumes will be at their original places. You can now use the Move eComics script to move them as subfolders inside their respective series folders.
That's all I can think of.. maybe some one else will have a better solution..