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 Yesterday, 10:58 AM   #1
Thomase004
Junior Member
Thomase004 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2026
Device: Kindle
CWA creates extremely long book folder names – can I limit or customize them?

Hi everyone,

I'm running Calibre-Web Automated (CWA) in Docker on my Synology NAS.

My setup:

• ⁠CWA running in Docker
• ⁠Calibre library mounted at /calibre-library
• ⁠RAW import folder mounted at /cwa-book-ingest
• ⁠Books are automatically imported from the RAW folder

I've imported around 478 books so far. Everything works fine in CWA itself, but I'm having problems when I try to manage the library and change the metadata in CWA or using the Calibre desktop application on my Windows PC.

The problem:

Calibre creates a separate folder for each book inside the author's folder. The folder name is based on the book title and its ID.

Some titles are extremely long, resulting in very long folder and file paths. For example:

\\Nasii\Medien\books\calibre-library\Eco, Umberto\Vier moralische Schriften - Mit der Intoleranz leben_ - An der Schwelle zum nachsten Jahrtausen (377)\Vier moralische Schriften - Mit der Intole - Eco, Umberto.epub

I can´t change the metada in the Calibre app (OSError:[WinError 123] but I could change it in CWA. BUT the bit problem is here, the epub will be deleted after a refresh.

Interestingly, even when I put a file with a very short filename (just 4–5 characters) into the RAW import folder, CWA still creates a folder with the full, extremely long book title.

So it seems to use the title from the embedded book metadata rather than the original filename.

My questions:

1. ⁠Is there a way to configure CWA or Calibre to use shorter folder names when importing books?
2. ⁠Can the maximum length of book folder names be limited?
3. ⁠Is it possible to use shorter internal folder names while keeping the full book title in the metadata?

I don't mind having to manually correct titles, authors, covers and other metadata afterwards. My main goal is simply to avoid excessively long file paths for future imports.

I'd prefer a solution that doesn't require manually renaming folders or modifying the existing library.

Any advice would be greatly appreciated.

—-

At the moment I can’t customize these books in the long named folders … could Calibre App change/cut folder names?
Thomase004 is offline   Reply With Quote
Old Yesterday, 04:13 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: 22,897
Karma: 34252744
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Calibre Web and its forks (e.g. the Automated variant) are not part of the calibre e-book library management application. For your particular issue you need to read the following:

Want to change folder structure or file names in the Calibre library?

Why doesn’t calibre let me store books in my own folder structure?

There are dozens of threads with dozens of replies in this sub-forum on this topic (change folder and file names), the answer is always the same - no you can't.

Ask the CWA developer to stop injecting confected subtitles into the book title - i.e. "Vier moralische Schriften" is good enough, see ==>> https://www.goodreads.com/book/show/...sche_Schriften).

BR
BetterRed is online now   Reply With Quote
Old Yesterday, 10:57 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: 46,580
Karma: 29634066
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Also you cannot share calibre library folders across operating systems, you will get data loss, different filename length limits are just one issue you will find.
kovidgoyal is offline   Reply With Quote
Old Today, 02:00 AM   #4
Thomase004
Junior Member
Thomase004 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2026
Device: Kindle
Thanks for your replies.

If there’s no way to limit the number of lines in CWA, do you have any idea how I can edit the books that are in a folder with a long name and also have long names themselves?

I always get an error message in the Calibre app ... OSError:[WinError 123

I copied my database into a text file, and some of the entries there are very long.

I’d upload the books again, but they keep showing up with such long names.

Translated with DeepL.com (free version)
Attached Files
File Type: txt Inhalt.txt (80.7 KB, 2 views)
Thomase004 is offline   Reply With Quote
Old Today, 03:27 AM   #5
Sirtel
Grand Sorcerer
Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.
 
Sirtel's Avatar
 
Posts: 15,884
Karma: 251102463
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
You can set calibre to get the title from the filename, not the metadata. See Preferences -> Adding books.
Sirtel is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre truncates long names on Win10 with long paths enabled. maximx86 Calibre 47 07-13-2025 08:10 AM
Problem with Calibre's folder structure and long names in Windows crixtiano Calibre 1 07-28-2017 03:05 PM
Extremely slow in long files arspr Editor 11 06-26-2014 07:22 AM
Customize Calibre Library Folder Structure and File Names mrgou Library Management 2 08-22-2012 05:55 AM
Unutterably Silly Extremely Convoluted And Confusing Names For Actions/Items Solitaire1 Lounge 2 06-17-2011 09:35 AM


All times are GMT -4. The time now is 05:34 AM.


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