11-25-2010, 07:05 AM | #1 |
Connoisseur
Posts: 92
Karma: 10
Join Date: Aug 2007
Device: Palm Treo 650
|
How to bulk replace author - book name
Hi ,
In all the books I import , calibre put the author as book title and book title as author . is there a way to bulk replace all ? |
11-25-2010, 07:19 AM | #2 | |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
Alternatively you can try to get the info correct to begin with. Calibre tries to get the info from metadata but if that fails it uses the regular expression under Preferences - Adding books to extract info from the file name. Try this regex Code:
^((?P<title>([^\-_0-9]+)(?=\s*-\s*)(?!\s*-\s*[0-9.]+)|\b))(\s*-\s*)?((?P<series>[^0-9\-]+)(\s*-\s*)?(?P<series_index>[0-9.]+)\s*-\s*)?(?P<author>[^\-_0-9]+) Code:
^((?P<author>([^\-_0-9]+)(?=\s*-\s*)(?!\s*-\s*[0-9.]+)|\b))(\s*-\s*)?((?P<series>[^0-9\-]+)(\s*-\s*)?(?P<series_index>[0-9.]+)\s*-\s*)?(?P<title>[^\-_0-9]+) Last edited by DoctorOhh; 11-25-2010 at 07:21 AM. |
|
Advert | |
|
11-25-2010, 08:25 AM | #3 | |
Connoisseur
Posts: 92
Karma: 10
Join Date: Aug 2007
Device: Palm Treo 650
|
Quote:
Thank you very much !!! |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Book Giveaways, Author Interviews & Book Reviews on Two Ends of the Pen | dlmartin6 | Self-Promotions by Authors and Publishers | 19 | 11-08-2010 08:00 AM |
Replace/Update Book Jacket | DoctorOhh | Calibre | 0 | 05-20-2010 04:26 AM |
Feature Request - replace "screensavers" with randomly selected book covers from libr | nathander13 | Calibre | 3 | 12-02-2009 12:21 PM |
How do I replace a book? | emellaich | Calibre | 3 | 07-15-2009 12:54 PM |
PDA soft and e-book vending machine - soon to replace the kiosk next door? | Alexander Turcic | News | 6 | 07-03-2005 01:27 PM |