Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 08-04-2024, 07:58 PM   #1
Nirodha
Junior Member
Nirodha began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Oct 2023
Device: Onyx Boox Note Air
All filenames were changed to lowercase, can I bulk edit database to correct the path

I recently moved my libraries from my Windows desktop to a Debain media server. I stupidly bulk renamed all my files/folders for avoid case-sensitivity problems going forward. This was fine for my other purposes (e.g. Plex data) because the databases are rebuilt quickly and easily. But my Calibre database has tons of hand edited values from years of use. I could rebuild from scratch, but I'm hoping there's a way to just change the paths to lower in the existing db. I tried doing it using sqlite3, but keep running in to "no such function: title_sort", I'm not sure why. I assume it's a custom function.

Can I use calibredb to edit these paths?
Nirodha is offline   Reply With Quote
Old 08-04-2024, 09:10 PM   #2
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,454
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
I am not sure this will help;
Quality check plugin: Fix: Check and rename book paths.
theducks is offline   Reply With Quote
Advert
Old 08-04-2024, 11:37 PM   #3
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: 44,566
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Create a new empty calibre library, then right click the add books button and choose add books from folders and sub folders and then one book per folder and select the old library folder, it will re-create your library restoring all metadata.
kovidgoyal is online now   Reply With Quote
Old 08-05-2024, 02:15 AM   #4
modismos
Junior Member
modismos began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Aug 2024
Location: Seattle, United States
Device: Amazon Kindle
Quote:
Originally Posted by kovidgoyal View Post
Create a new empty calibre library, then right click the add books button and choose add books from folders and sub folders and then one book per folder and select the old library folder, it will re-create your library restoring all metadata.
I was also facing the same problem.
I tried to create a new library as you mentioned, and it worked.

Thanks for the help.
Elena
modismos is offline   Reply With Quote
Old 08-06-2024, 02:38 PM   #5
Nirodha
Junior Member
Nirodha began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Oct 2023
Device: Onyx Boox Note Air
That worked! Thank you!
I'm so grateful for Calibre and all your efforts and that of all the volunteers in maintaining it.
Nirodha is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Correct path to stylesheet? Springtide Editor 5 04-23-2023 07:12 PM
Override database path ama Library Management 5 11-18-2021 09:10 PM
Title not changed with Bulk Editing stormsh Calibre 6 09-23-2013 10:18 PM
Bulk metada edit error trying to edit tags Purple Lady Calibre 8 02-17-2011 07:09 PM
Lastname, Firstname filenames - Any way to import correct author name? Starson17 Calibre 5 12-24-2009 12:03 AM


All times are GMT -4. The time now is 11:26 PM.


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