Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 03-20-2015, 02:21 PM   #1
BAD18
Enthusiast
BAD18 began at the beginning.
 
Posts: 29
Karma: 10
Join Date: Apr 2011
Location: Northern California
Device: Nook Color & Touch; Samsung Galaxy Tab
How to merge libraries

I keep four Calibre Libraries. Somehow I've ended up with two Calibre Libraries. Same name different ebooks. How do I go about merging the two libraries with the same name? Thanks.

Barbara
BAD18 is offline   Reply With Quote
Old 03-20-2015, 03:02 PM   #2
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,681
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by BAD18 View Post
I keep four Calibre Libraries. Somehow I've ended up with two Calibre Libraries. Same name different ebooks. How do I go about merging the two libraries with the same name?
@BAD18 - rename one of the libraries (using calibre), and copy or move (using calibre) all the books in it to the other one.

If you think there are duplicate books in the two libraries use the Find Duplicate->Library Duplicates option first; you may need to install the optional plugin ==>> Find Duplicates

BR
BetterRed is offline   Reply With Quote
Advert
Old 03-20-2015, 03:13 PM   #3
theducks
Well trained by Cats
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: 30,967
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by BAD18 View Post
I keep four Calibre Libraries. Somehow I've ended up with two Calibre Libraries. Same name different ebooks. How do I go about merging the two libraries with the same name? Thanks.

Barbara
They are not in the same Folder (if they have the exact same name).
So the first step is to find out WHERE. Use the O/S search and find ALL places with metadata.db.
These are your Libraries. Make a note of where (the path) they all are

If both names are NOT on the Quick Switch list we will be going for the easy trick

Prep work:
With Calibre open to the Library you want to Keep. Tap 'O' . Noter the Full Path to the Book. (the first part of this Matches 1 of the above metadata.db paths)

In the O/S change the name of the OTHER folder
eg. Calibre Library -> Extra Library (the name can be almost any valid folder name, It will be what the Library Name will be in the Switch List)

With That done, we are ready
Add the New (renamed) Library to the List using Switch/Create option on the Library Icon
Cleanup 1:
Now use the QuickSwitch to Switch Back to the Original name. NOTE If this fails, delete that entry (it was the link to the old name). If it Worked, delete the Other
Switch back to the Extra Library: Select some Books: Right click: Copy to Library <name>: Delete after copy

Note that your (what to do, when) Adding Books Rules prevail

Repeat: Wash, Spin, Dry



Ready to Merge
theducks is offline   Reply With Quote
Old 03-20-2015, 03:28 PM   #4
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,681
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@theducks - psst - calibre can support two libraries with same name (must be in different locations), no need to rename with OS, can be done with calibre.

Click image for larger version

Name:	Screenshot - 2015-03-21 , 06_17_23.jpg
Views:	632
Size:	17.7 KB
ID:	136209

BR
BetterRed is offline   Reply With Quote
Old 03-20-2015, 03:42 PM   #5
theducks
Well trained by Cats
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: 30,967
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by BetterRed View Post
@theducks - psst - calibre can support two libraries with same name (must be in different locations), no need to rename with OS, can be done with calibre.

Attachment 136209

BR
Psst! I know that.
The whole purpose was to make it clear WHICH you were working with at any moment
theducks is offline   Reply With Quote
Advert
Old 03-20-2015, 04:10 PM   #6
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,681
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
I thought you were one of the 'don't do in the OS that which can be done in calibre' school, so I wondered if you did know

Quote:
Originally Posted by BetterRed View Post
... rename one of the libraries (using calibre),
BR
BetterRed is offline   Reply With Quote
Old 03-20-2015, 04:16 PM   #7
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Well, renaming a library in calibre can b a lot slower than renaming via the OS. So I personally would rename in the OS and calibre would then prompt me for the new location.

Of course, I have libraries on a FAT32 flashdrive, that is a major source of slowdown.
eschwartz is offline   Reply With Quote
Old 03-20-2015, 04:33 PM   #8
theducks
Well trained by Cats
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: 30,967
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
I don't recommend Messing Around inside a Library

I use the O/S to do a backup, I also append the ISO date to the Lib name at that time

Murphy is NOT my friend. I try and NOT give him a chance... ever
theducks is offline   Reply With Quote
Old 03-20-2015, 04:45 PM   #9
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,681
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
I've only renamed NTFS and Ext3 libraries in calibre, never noticed they're appreciably slower than renaming a folder natively - more or less instant. On Windows either way wakes up the indexer, but that's a separate low very priority process, I only know its running because it rattles the disk.

BR
BetterRed is offline   Reply With Quote
Old 03-20-2015, 06:29 PM   #10
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Well, I believe calibre moves each file it controls, but mostly should be done pretty fast -- on modern filesystems.
External storage meant for switching between OSes still needs FAT, which requires making copies of all files very slow.
(same problem renaming dozens of authors/titles.)

calibre doesn't rename files, it hardlinks/copies them (depending on filesystem support for hardlinks) and then expires the old copies.

Like theducks, I prefer to let the OS handle what it is good at handling, no need to get calibre involved...
eschwartz is offline   Reply With Quote
Old 03-20-2015, 06:50 PM   #11
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,681
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
We're talking about renaming folders, not files - hardlinking only applies to files, the rough equivalent for folders is junctions.

FAT32 aside - I cant see why one would not prefer to enter the new name once - into calibre, rather than twice - once into the file manager and then into calibre. Just as one does for author and book folders; if one trusts calibre to get those right (which is complex because of the need to change the format file names) then why wouldn't one be happy letting the calibre take care of library names - which are by comparison, trivial

BR
BetterRed is offline   Reply With Quote
Old 03-21-2015, 11:19 PM   #12
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
The files get hardlinked and the folders are created as needed -- I find it simpler to rename the folder, just like you.

There is a good reason to let calibre handle author-book folders -- it needs to, in order to get them right, the OS has no ability to handle that properly.

Besides, calibre leaves behind anything it doesn't index, occasionally there can be meaningful things there, for one, the Dropbox index. The OS does things the way I tell it to.

Last edited by eschwartz; 03-21-2015 at 11:22 PM.
eschwartz is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Merge Two Libraries vsnewltr Library Management 3 01-25-2015 03:30 PM
Trying to merge 2 libraries madmusic36 Library Management 8 02-09-2014 09:34 AM
Different libraries on 2 computers - how to merge? Statch Calibre 4 09-02-2013 04:34 PM
Merge Calibre Libraries davidm_uk Calibre 8 04-25-2013 10:28 PM
How to merge libraries? clittle Library Management 4 11-05-2012 10:17 AM


All times are GMT -4. The time now is 08:49 AM.


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