View Single Post
Old 12-20-2011, 08:54 AM   #8
parasit
Member
parasit began at the beginning.
 
Posts: 10
Karma: 10
Join Date: May 2009
Location: Warsaw, Poland
Device: Kindle, IPhone 3G, Sony Clie
Quote:
Originally Posted by kiwidude View Post
@parasit - noooooo - you are heading down a path to disaster. Remember that the path to a calibre book includes a numerical id that represents the calibre book id, incremented and unique to the database. What do you think is going to happen when your wife adds book #100 "Foo" and you add book #100 "Bar", since you are both trying to add to the same base database?
I understand how it works, but i want the same titles not the same db structure.
Want use a "tool" to compare databases but add books by default methods.
Eg. if in DB1 is Frank Foobarsky "Foo" (100) and in DB2 is Bob Barfoosky "Bar" (100).
I need to do:
1. Generate lists (authors, titles, isbn, etc) from both DB's (in read only mode)
2. Copy missing titles to any tmp dir
3. Add all copied files to db. Even calling "calibre /tmp/foo.epub", although it is probably a better method.

Finally i got all titles on both machines, but with different ID's.
DB1 - Foo (100), Bar (101)
DB2 - Bar (100), Foo (101)

Quote:
Originally Posted by kiwidude View Post
You *cannot* make changes on both simultaneously and then expect to be able to merge the two together again.
When use this method i can add files on both machines simultaneously.
parasit is offline   Reply With Quote