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 02-14-2018, 06:21 AM   #1
Phssthpok
Addict
Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.
 
Posts: 387
Karma: 95229
Join Date: Nov 2014
Device: Horrible Kindle
Is there a way to replace existing books when adding?

I have a Calibre server running on another machine, and I update it by copying books to it from my laptop every so often (all books that have changed since the previous update are copied to the server's auto-add directory). This is fine for new books, but for updated versions of existing books I want to replace the old versions with the new versions.

I have unchecked "Check for duplicates" in "Automatic adding"; under "Adding actions" I have checked "Auto-merge added books" and have selected "Overwrite existing duplicate formats". Unfortunately this doesn't do the trick, and I just end up with both old and new versions of the book on the server, with the same author and title as each other.

Is there any way to do what I want, and replace the old version with the new one?
Phssthpok is offline   Reply With Quote
Old 02-14-2018, 07:04 AM   #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: 33,470
Karma: 10205098
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
auto-add does not have a merge facility, it is not safe, since duplicates cannot be identified with 100% accuracy. Currently, you can do it vice the command line calibredb tool. At some point I will add some UI to the server to add formats to existing books via the browser as well, similar to how you can add new books already.
kovidgoyal is offline   Reply With Quote
Old 02-14-2018, 07:33 AM   #3
Phssthpok
Addict
Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.
 
Posts: 387
Karma: 95229
Join Date: Nov 2014
Device: Horrible Kindle
Quote:
Originally Posted by kovidgoyal View Post
auto-add does not have a merge facility, it is not safe, since duplicates cannot be identified with 100% accuracy. Currently, you can do it vice the command line calibredb tool. At some point I will add some UI to the server to add formats to existing books via the browser as well, similar to how you can add new books already.
How do I do it with calibredb? All I see is the -d (Add books to database even if they already exist), which is basically what I'm already doing -- this doesn't remove older duplicates, does it? And it's based on title only, rather than author & title.

Even if it's dangerous, a "use at your own risk" merge facility based on author & title would be very useful, from my point of view...
Phssthpok is offline   Reply With Quote
Old 02-14-2018, 09:28 AM   #4
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: 33,470
Karma: 10205098
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
calibredb add_format
kovidgoyal is offline   Reply With Quote
Reply

Tags
auto add, server

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding many books in an new format to existing books Dzib Library Management 0 11-09-2017 10:20 AM
Merge existing formats into New records when adding new books camelx Calibre 28 05-24-2015 01:04 PM
Adding new books with replace/discard option Taeteck Library Management 2 10-21-2014 05:14 PM
Adding to existing tags? garagearcades Sigil 4 08-16-2013 04:09 AM
Replace books instead of adding them as duplicates? the.Mtn.Man Calibre 6 11-23-2012 11:08 PM


All times are GMT -4. The time now is 03:45 AM.


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