05-27-2020, 10:49 PM | #1 |
Junior Member
Posts: 7
Karma: 10
Join Date: May 2020
Device: Kindle Paperwhite
|
Stop Calibre from changing Titles
My main use for Calibre is to convert personal .rtf files so that I can read them on my Kindle.
I have hundreds rtf files and they all use space-hyphen-space sequences and commas in their filenames. There is no author name or series name or anything else embedded in the .rtf filename: nothing except the full title. I'd like to instruct Calibre to keep the full filename as the full title--hyphens and spaces and all--without making any changes to it whatsoever (other than stripping away the ".rtf" file type). Is there a simple way to do that? (Renaming my files is not an option: my filenames interact with other programs.) |
05-27-2020, 11:20 PM | #2 |
Zealot
Posts: 148
Karma: 5052779
Join Date: May 2007
Location: Long Island, NY
Device: Kobo Libra, Amazon Fire 10, Kobo Clara, Kobo Aura One
|
I tested it this out and I believe this would work for you:
1. In Calibre, open Preferences 2. In Preferences, choose Adding Books (in the Import/export section) 3. In Adding Books, uncheck "Read metadata from file contents rather than file name" 4. In the "Configure metadata from filename box", there is a drop down menu under Regular expression. Choose (?P<title>.+) 5. Click Apply, close Preferences and you are done. Note: if you want to test it out before saving the change, use the Test box where you type in a sample of a file name (e.g. Melville, Herman - Moby Dick.rtf). When you click test, you will see how Calibre would process the filename. After the change, there is an option to restore the default settings, if you need to do so. Good luck! Last edited by Mikou; 05-27-2020 at 11:23 PM. |
05-28-2020, 09:40 AM | #3 |
Junior Member
Posts: 7
Karma: 10
Join Date: May 2020
Device: Kindle Paperwhite
|
Mikou: Wow--thank you!
I looked all through preferences and settings, and couldn't make heads or tails of what I read. I thought there must be an easy solution and that an expert with Calibre could solve my problem in a moment--which you have! So thank you! |
05-28-2020, 12:28 PM | #4 | ||
Wizard
Posts: 2,083
Karma: 8796704
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
Quote:
https://manual.calibre-ebook.com/gui.html#add-books Quote:
|
||
05-28-2020, 11:31 PM | #5 |
Zealot
Posts: 148
Karma: 5052779
Join Date: May 2007
Location: Long Island, NY
Device: Kobo Libra, Amazon Fire 10, Kobo Clara, Kobo Aura One
|
You're welcome. Glad I could help.
|
05-29-2020, 12:15 PM | #6 |
Junior Member
Posts: 7
Karma: 10
Join Date: May 2020
Device: Kindle Paperwhite
|
Thank you, also, gbm.
Another change I made was to stop Calibre from appending "- Unknown" to the end of all my filenames (e.g., "the author"): Go to Preferences, "Sending books to devices": Change "save template" to {author_sort}/{title} (You can also get rid of {author sort}/ if you don't mind everything being put into the same directory.) |
09-04-2020, 06:38 AM | #7 |
Member
Posts: 17
Karma: 10
Join Date: Nov 2010
Location: Athens, Greece
Device: Pocketbook plus 360
|
This doesn't work for me.
The way I like filenames is Author - Title. So, instead of the standard expression for extracting metadata which is (?P<title>.+) - (?P<author>[^_]+) I put: (?P<author>[^_]+) - (?P<title>.+) As a test, I put "Homer - The Iliad.epub" and Calibre said that Title: The Authors: Homer then I tried "Mark Twain - Tom Sawyer.epub" and Calibre again interpreted it as the title being "Tom" So it seems that it doesn't recognize more than one word as the title. Last edited by irmar; 09-04-2020 at 07:16 AM. |
Tags |
hyphens, titles |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to stop calibre from moving my "a" and "the" in titles? | burnafterreading | Library Management | 6 | 11-14-2022 06:52 PM |
How to Stop Calibre from Automatically Changing OPF metadata | Sneddles | Conversion | 10 | 07-19-2014 06:57 PM |
How to stop Calibre changing location numbers | D0nQu1x0te | Conversion | 4 | 01-22-2013 08:39 PM |
How to stop Sigil from changing my HTML? | seanos | Sigil | 29 | 05-25-2012 12:49 AM |
How do I stop Calibre from changing my book titles? | HarryT | Calibre | 2 | 12-16-2010 11:41 AM |