Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 08-13-2012, 12:33 PM   #1
Angelo
Junior Member
Angelo began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2012
Device: Ipad
Again: Merging two Calibre Libraries

Well I've been searching how to merge 2 calibre libraries and I found some threads, however I had some issues.

I simply switch to the other calibre library than I select all files and using the right button mouse I copy to the My Calibre default library. There is two options here, one is just to copy and the option is copy and the delete the original file after copy.

Here the problem happens , no matter how option is used to copy the books. For some reason, if calibre cannot copy the file due to some error a dialog window appears to let you know that. However if this happen Calibre stops and the copy process is canceled at all . I think it should continue to copy the remaining ebooks and at the end it could generate a list of the ebooks that caused problems.

Another problem occurs when the two calibre libraries have the same book ( with the same structure of metadata) and it always add a second copy in the main calibre library, i.e., calibre is not detecting the duplicates when merging using the method described above.

The two pŕoblems above results in a more complicated situation. If calibre stops the copy process due to some error, as above, I have to find problematic ebook unselect it and unselect all the ebooks that already have copied to the main library, if not, you will have duplicates ebooks always.


Does someone has a tip to avoid these problems ?


Regards...
Angelo is offline   Reply With Quote
Old 08-13-2012, 12:46 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 24,834
Karma: 4370273
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The only way copying can fail is if you have incorrect permissions or some files open in another program. Simply create a dummy third library and copy all the books into it until you have sorted out all problems, then copy to your main library. And use the auto merge options in preferences->adding books to control how duplicates are treated.
kovidgoyal is offline   Reply With Quote
 
Enthusiast
Old 08-13-2012, 12:47 PM   #3
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 13,628
Karma: 5126946
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by Angelo View Post
Well I've been searching how to merge 2 calibre libraries and I found some threads, however I had some issues.

I simply switch to the other calibre library than I select all files and using the right button mouse I copy to the My Calibre default library. There is two options here, one is just to copy and the option is copy and the delete the original file after copy.

Here the problem happens , no matter how option is used to copy the books. For some reason, if calibre cannot copy the file due to some error a dialog window appears to let you know that. However if this happen Calibre stops and the copy process is canceled at all . I think it should continue to copy the remaining ebooks and at the end it could generate a list of the ebooks that caused problems.

Another problem occurs when the two calibre libraries have the same book ( with the same structure of metadata) and it always add a second copy in the main calibre library, i.e., calibre is not detecting the duplicates when merging using the method described above.

The two pŕoblems above results in a more complicated situation. If calibre stops the copy process due to some error, as above, I have to find problematic ebook unselect it and unselect all the ebooks that already have copied to the main library, if not, you will have duplicates ebooks always.


Does someone has a tip to avoid these problems ?


Regards...
Perform the Library Maintenance function on Both Libraries before you start, fix the problems.
That should take care of the error part.
theducks is offline   Reply With Quote
Old 08-14-2012, 06:17 AM   #4
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,583
Karma: 12369683
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Quote:
Originally Posted by Angelo View Post
For some reason, if calibre cannot copy the file due to some error a dialog window appears to let you know that. However if this happen Calibre stops and the copy process is canceled at all . I think it should continue to copy the remaining ebooks and at the end it could generate a list of the ebooks that caused problems.
The books didn't cause a problem the OS did as a safety feature. If you have your two libraries in Dropbox or other cloud folder/service simply exit the cloud service software prior to copying between libraries and you shouldn't have a problem.
DoctorOhh is online now   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Merging two libraries BeeTee-Ess Calibre 5 01-06-2012 08:22 PM
Merging libraries Codex Library Management 5 04-11-2011 01:25 PM
merging libraries glnagrom Library Management 1 02-21-2011 12:17 AM
Merging Calibre Libraries pope_a Calibre 3 01-17-2010 09:51 AM
Merging Libraries dvs0826 Calibre 2 08-23-2009 03:57 AM


All times are GMT -4. The time now is 08:42 PM.


MobileRead.com is a privately owned, operated and funded community.