![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Aug 2010
Device: kindle 3
|
Copy/Move books between libraries using command line tools
Hi All,
I have multiple libraries, lots of the books are duplicate, what I want is to consolidate them into one library. Of course I could have merged them into one using gui, and then manually removing duplicate will be tedious. My question is if it's possible to use command line tools to accomplish this, so the process can be done by a script. Any hint is appreciated. TIA, James |
![]() |
![]() |
![]() |
#2 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
Read the tooltips for what it identifies as a "duplicate" book. Note that the latest release has three alternative automerge options, but those options for the option do not apply during Copy to Library. They apply only during import (Adding). |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Aug 2010
Device: kindle 3
|
Just tried automerge, it did pretty good job, thanks! -James
|
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
I'm glad automerge for "Copy to Library" is being used and worked for you. Automerge was written to simplify my bulk adding of books to Calibre. I was actually very surprised when someone posted a "bug" report that "Automerge isn't working for Copy to Library!" It had never occurred to me that it should apply to CTL. (When I wrote automerge, CTL hadn't yet been written anyway).
After some thought, however, it sort of made sense that it would be useful for CTL to do the automerge you just found to be useful, and I added it to the CTL code. Nonetheless, I've always been sort of worried that some day I'll get another bug report saying "Automerge screwed up my Copy to Library!" from someone who thinks Copy should mean "copy" not merge. Last edited by Starson17; 02-15-2011 at 09:04 AM. |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem installing Command line tools | patc890 | Calibre | 7 | 12-12-2010 08:02 AM |
Move Books between Libraries | barium | Calibre | 5 | 10-03-2010 10:03 PM |
Where are the command line tools? | PaulChernoch | Calibre | 17 | 10-23-2009 12:08 PM |
Adding books from the command line | edembowski | Calibre | 1 | 08-29-2009 11:18 AM |
command-line conversion tools in 0.6.0? | WayneD | Calibre | 3 | 06-03-2009 01:30 PM |