01-27-2011, 04:30 PM | #1 |
Guru
Posts: 902
Karma: 1660722
Join Date: Nov 2009
Location: Maryland
Device: PRS-650, PRS-600, PRS-350
|
Just What Does Merge Do?
I was playing with importing books and merging the data.
If I reimport a book that is in Calibre, and it merges the data, it doesn't replace the actual book. If I save a book to disk, and import the book from one source, and reimport the saved book, the metadata doesn't return. If I just reimport the book from the saved copy, I get the metadata. So what is actually happening? It seems like not much. |
01-28-2011, 09:52 AM | #2 | |||
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
The merge code is mine, so I'll help if I can.
Quote:
Quote:
Quote:
|
|||
Advert | |
|
01-28-2011, 02:55 PM | #3 |
Guru
Posts: 902
Karma: 1660722
Join Date: Nov 2009
Location: Maryland
Device: PRS-650, PRS-600, PRS-350
|
I guess it is an Import question. But it is about the Merge portion of the import.
But it sounds like there is no way to automatically do what I sort of expected it to do. But then again, it has no way of knowing what to keep and what to over right. Thanks. So if you manually merge, how do you decide what to keep and what to overright? |
01-28-2011, 03:00 PM | #4 |
Wizard
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
|
01-28-2011, 03:36 PM | #5 |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
As itimpi said, the first selected has priority. It will keep single valued fields from the first selected record (author, title, dates, publisher, etc) and merge together multi-valued fields (tags, comments, etc.) while removing any duplicates from those fields. If a single valued field is "empty" it will fill from the second record, and then from the third record, until it finds a non-empty content for that field.
Last edited by Starson17; 02-01-2011 at 01:52 PM. |
Advert | |
|
01-29-2011, 06:43 AM | #6 |
Guru
Posts: 902
Karma: 1660722
Join Date: Nov 2009
Location: Maryland
Device: PRS-650, PRS-600, PRS-350
|
OK, so it also keeps the first selected book file?
So the work I did yesterday would only have been marginally helped by Merge. Thanks. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Merge records | mruseless | Library Management | 6 | 04-16-2014 09:01 AM |
What does Merge Books do? | Pinecone | Library Management | 2 | 01-23-2011 09:23 PM |
What exactly does merge do? | bigpallooka | Calibre | 15 | 11-24-2010 06:58 PM |
How to Merge Tags | Canna71 | Calibre | 5 | 09-26-2010 08:47 AM |
Merge feature request (different merge) | Tarran | Calibre | 1 | 05-24-2010 10:57 AM |