![]() |
#1 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: May 2021
Device: iPad
|
Add addition format and auto-merge to existing books!?
I manually converted all books of my Calibre library which are other than epub to epub format (to have an common format which all my devices support). II did this via script and Calibre's commandline executable 'ebook-convert'.
Now I want to add the new variants to the existing book records of my Calibre library. Each converted files resides in the same folders as the source file. Preferences for 'Adding books' are set to:
Any ideas? |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,443
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
You should have added the new formats to the book records when you did the conversion using calibredb add_format. That would avoid the book matching problem and guarantee that the new epub is added to the correct book record.
Are you saying that the new epubs are already stored in the calibre library directory structure? I don't know what would happen if you did an add_format of a file that already exists in the correct directory. The add_format command could easily fail by trying to copy the file onto itself. You could try it with one to see what happens. EDIT: or you could move the format out of the calibre file structure then use calibredb to move it back. Personally I would clean the library then redo the conversions, adding the formats one by one as they are created using add_format. If the new epubs are in the calibre library structure then you can easily remove them using Library maintenance / Check library. EDIT 2: Or just do it en mass in the GUI, avoiding all the scripts. Last edited by chaley; 05-15-2021 at 02:27 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,717
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
From the GUI, I would run Library->Maintenance->Check library, that will find the "Extra book formats"; from there I would use the mark and delete options to remove the 'extra' EPUBs.
I would then redo the conversions in the GUI, i.e. the library manager interface. Which is @chaley's last suggestion - I think ![]() BR Last edited by BetterRed; 05-15-2021 at 05:43 PM. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help with Auto-Merge Duplicates when (auto) Adding Books | brady601 | Library Management | 4 | 02-13-2023 09:29 AM |
Auto-merge added books if they already exist (works?) | dunhill | Library Management | 1 | 06-25-2020 11:03 PM |
Vanishing auto add books during import, books left behind in auto add folder | jataadroid | Library Management | 9 | 01-14-2018 11:43 PM |
How to add more ignore filteypes in Automatic Addition of Books? | stanmarsh | Library Management | 2 | 07-24-2015 09:14 AM |
Merge existing formats into New records when adding new books | camelx | Calibre | 28 | 05-24-2015 01:04 PM |