08-15-2011, 03:35 PM | #1 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jun 2011
Device: none
|
Author and Series in Authors field
I have a LOT of books that I loaded into Calibre wrong. Many now have Author and Series Name & No in the Authors field.
Example: David Drake - Books of the Elements 01 or: JR Ward - [Black Dagger Brotherhood 03] - Lover Awakened Is there a way to bulk edit using Regex to move the series info to the series field and leave author in authors field. Also, Title/Series in Title field. Example: Buckley, Michael - [Sisters Grimm 01] - The Fairy-Tale Detectives or: [Earth's Children 06] - The Land of Painted Caves or: The Wishing Horse Of Oz - Oz 29 Don't know much about Regex but willing to learn Thanks in advance, Dave |
08-15-2011, 03:47 PM | #2 | |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
|
|
Advert | |
|
08-15-2011, 04:00 PM | #3 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jun 2011
Device: none
|
I guess I was looking for some Regex expressions that might do the trick.
Regex has me a little confused and examples would help. The Calibre tutorial did not seem to tutor me much (: Dave |
08-17-2011, 09:52 AM | #4 | |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
for: JR Ward - [Black Dagger Brotherhood 03] - Lover Awakened in the title, you can use Code:
(.*) - .* and Code:
\1 Then you'll need to do the series and series_index fields, then fix the title field. It would be easier to just add that file with an Add regex to do all 4 fields correctly in one shot. I suspect you didn't get examples as no one wanted to give all the permutations for all the steps for all the different file naming schemes you have for both S&R and Add Books until they knew what approach you wanted to take (S&R or Add Books). There are lots of Add Books regex expressions posted here that will work on many of your files. |
|
08-17-2011, 10:04 AM | #5 | |
Well trained by Cats
Posts: 29,778
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
On the Bulk Metadata edit form, the S&R tab has a 'test' area, so you get to see the results before you apply them. I note, more than 1 naming style,.: Only work on one_style_at_a_time (select those books to bulk edit) Single solutions are very complicated and usually can be avoide by crafting individual (problem) solutions |
|
Advert | |
|
08-17-2011, 10:21 AM | #6 |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
I'll comment that there are three strategies for dealing with this issue.
1) Import filenames (they usually end up in the title or with title/author swapped) and fix the mess with S&R. I don't recommend this one. 2) Import with a regex for Add Books that correctly parses the filename into the right fields. This is what I did, but it may require you to change the regex for different filename structures. 3) Rename the files before import to a standard form, then use the same regex every time for Add Books. There are many bulk file rename tools out there, and some are specific to ebooks. If you are willing to learn to use these rename tools, this works well. Of course, the best ones use .... you guessed it ... regex |
08-17-2011, 11:07 AM | #7 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jun 2011
Device: none
|
Thanks to all who replied. I now have some good ideas on how to fix things.
I will be very careful in the future when adding new books Dave |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
series data field | er0_senn1n | Calibre | 3 | 01-12-2011 03:33 PM |
ZXreader series field - how do I set it using Calibre? | Boreads | Calibre | 3 | 12-08-2010 11:38 PM |
Series info into Tags field for Stanza's Groups | RoninTech | Calibre | 4 | 07-06-2010 09:23 AM |
Pet peeve: series authors who introduce things in non-series books! | ficbot | Reading Recommendations | 12 | 02-06-2010 02:14 AM |
How to make Author field empty? | khutch | Calibre | 1 | 08-14-2009 02:12 PM |