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

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-28-2025, 05:19 PM   #1
toomuchreading
Groupie
toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.
 
toomuchreading's Avatar
 
Posts: 179
Karma: 1720
Join Date: Feb 2009
Location: Canada
Device: PRS-T1, Kobo Libre Color
Opening Calibre databases using the Windows "Open With" command

I am trying to consolidate the multiple Calibre libraries that I have into one primary library location. The Calibre libraries are spread out all over the place over 20TB of disk space. I'm using Windows 11.

I used a search program called Everything to search for 'metadata.db' to locate the various libraries. What I would like to do is use the 'open with' command available in right clicking to open the library in Calibre. Right now when I use the open with (there currently is no program associated with .db on my system), I navigate to Calibre.exe and Calibre imports the file like a book.
What I would like to be able to do, while Calibre is either opened or closed, is to open or switch to the library I just right clicked open with on.

I want to use the open with command since I have so many other libriaries all over the place and searching then using open with would make opening them much easier than trying to navigate to the paths individually.

Is this possible or feasible?
Once I have the library open, I'm going to want to check it out and using the 'Copy to' command to copy the books to my main library and then get rid of the 'inherited' extra library.

Thanks for the help.
toomuchreading is offline   Reply With Quote
Old 01-28-2025, 05:24 PM   #2
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,551
Karma: 9250682
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Do you know how to switch libraries in Calibre?
I don't really understand why you are hunting down the databases to switch libraries.
Karellen is offline   Reply With Quote
Advert
Old 01-28-2025, 07:03 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,782
Karma: 59840450
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
SERIOUSLY
DO NOT try and back door this. You have a 99.9% chance of making a disaster.

Create Switch: Use Existing. Easy to use, Just copy the path of where you found the Metadata.db (spin and repeat for each Library)

Before that, Note that the folder containing metadata.db IS the Library name.
Make those name unique to avoid any confusion. <<<

FWIW Calibre Library is NOT one of my active Libraries. If Calibre ever starts with that name, I know the configuration folder has damage (that is where the list of KNOWN and Last_Used Libraries is stored. That does not indicate the Library is damaged
theducks is offline   Reply With Quote
Old 01-28-2025, 07:04 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,500
Karma: 29709834
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by toomuchreading View Post
. . .

Is this possible or feasible?

. . .
Nope, what you need to do copy the path of the folder that contains the metadata.db and paste that into Switch/create to register the library, viz:

Click image for larger version

Name:	Screenshot 2025-01-29 105931.jpg
Views:	104
Size:	187.4 KB
ID:	213320

BR
BetterRed is online now   Reply With Quote
Old 01-28-2025, 07:59 PM   #5
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: 45,009
Karma: 27109258
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Sure, write a small script that takes the path to the metadata.db file and runs

calibre --with-library=/path/to/parent/folder/of/metadata.db

and then associate that script with *.db files.
kovidgoyal is offline   Reply With Quote
Advert
Old 01-30-2025, 01:42 PM   #6
toomuchreading
Groupie
toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.
 
toomuchreading's Avatar
 
Posts: 179
Karma: 1720
Join Date: Feb 2009
Location: Canada
Device: PRS-T1, Kobo Libre Color
Thank you for this. I'll give it a try. I'm constantly running across a rogue Calibre library. I wasn't very organized or knowledgeable when I first started collecting books and now I'm paying for that lack of forethought. Oh well.
toomuchreading is offline   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
calibre WINDOWS 64-bit 7.17.0, "E-book viewer" stuck on "Loading book..." tjludico Viewer 6 Today 02:32 AM
Calibre "view" button adds CBZ file instead of opening DaringSteel Calibre 2 05-18-2024 03:39 PM
Calibre error: "Is it open in another program" and "this book has no available format Timucin Library Management 9 05-09-2023 07:12 PM
How to run Calibre's "Check book" tool from the command line? py_make_book Editor 2 07-05-2022 11:39 PM
"Windows 9" "Threshold" and "Windows" Rumors thread Glorfindel General Discussions 91 11-03-2014 08:11 AM


All times are GMT -4. The time now is 10:42 AM.


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