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 01-10-2026, 06:35 PM   #1
Doum
Connoisseur
Doum began at the beginning.
 
Posts: 70
Karma: 10
Join Date: Jun 2020
Device: Kobo Aura HD
Name Upper with calibre/sqlite but Lower with ls -ld under Unix

I'm having an issue with Calibre 8.16 directories.
Some Unix-based book names begin with a lowercase letter, while in the SQLite database (metadata.db) and within Calibre itself, they all begin with an uppercase letter.

This is a very rare occurrence and likely results from remnants of older versions, but Calibre (via maintenance) never detects it. This causes conflicts between Unix and Windows. Is there any way to control this?

example
ls -ld [a-z]* ==> 'une troublante coincidence (1000)'

sqlite> select title, from books where id=1000;
Une troublante coincidence|1000

Last edited by Doum; 01-10-2026 at 06:41 PM.
Doum is offline   Reply With Quote
Old 01-10-2026, 09:25 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: 31,409
Karma: 62500208
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Be very careful *fixing* folder or file names outside of Calibre

Have you tried the Quality Check Plugin: Fix: Check and Rename Book paths

That is Calibre making changes.

Also Case differences are because the Entries in Calibre are that way.
Open the Tag Browser: Authors: right click: Manage <this is where you can see and adjust the Authors case and spelling and everything follows.

As to Titles : Again Quality check: Check metadata, check titles for case (at the bottom). Once you have the problem kids discovered, select All: Tap 'E' (Metadata edit bulk mode): The form has change Title case to: (and update the sort)
theducks is offline   Reply With Quote
Advert
Old 01-10-2026, 11:54 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: 45,837
Karma: 28586150
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Dont share a library folder between unix and windows, its a recipe for data loss as the two have very different semantics. If you do insist on doing so make the folder of the calibre library case insensitive on Linux, that will at least remove one source of semantic differences.
kovidgoyal is offline   Reply With Quote
Old Yesterday, 06:24 AM   #4
Doum
Connoisseur
Doum began at the beginning.
 
Posts: 70
Karma: 10
Join Date: Jun 2020
Device: Kobo Aura HD
Thank you for your replies. The "quality check" is quite useful, but I'm going to use an SQLite script combined with "ls" to verify the consistency of the authors/titles with my actual file paths.
For your information, I encountered errors with the PHP function `imagecreatefromjpeg`. I passed it the path retrieved via an SQL query, but it generated a "Failed to open stream: No such file or directory" error because the actual path had a different lowercase/uppercase character. (I use it to create minicovers from the cover.jpg file in Calibre files.)

Last edited by Doum; Yesterday at 06:27 AM.
Doum is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Upper to Lower Case Regex - I'm stuck! Chris_Snow Sigil 20 11-03-2023 04:54 PM
Change case to Title fails with mix of upper and lower cases paperback Editor 2 03-12-2022 09:19 PM
Spellcheck filter - upper/lower case Binchen Sigil 8 10-29-2021 10:49 PM
Replace UPPER with lower? vr8ce Editor 4 07-06-2018 10:43 PM
Buy Sony PRS-505 Ornamental Plates both lower and upper pnyc Flea Market 2 05-24-2009 12:17 PM


All times are GMT -4. The time now is 04:39 AM.


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