![]() |
#1 |
Member
![]() Posts: 12
Karma: 12
Join Date: Aug 2011
Device: Sony Reader PRS-600
|
Garbled file titles on Save to Disk
I'm seeing some slightly garbled filenames when I export using Save to Disk, and I want to find out if it is an error I'm making, an error in my expectations, or a problem with Calibre.
I'm running Windows 7. When Calibre gets wonky, I've found updating it fixes a lot, so I've just done that and replicated the error with newly installed version 2.22.0. My library is living on Dropbox and I'm doing a Save to Disk on my local folders. I'm not doing anything fancy with the metadata - the settings for filenames and metadata treatment during export are whatever the original settings were. What I'm seeing: Some files get garbled title names, and occasionally also author names. Today before updating Calibre, "The Improbable Adventures of Sherlock Holmes" exported as "I." Afterward, it exported as "Improbabllmes, The" Other examples behind a cut: Code:
Calibre title: Attack Your Day! Before It Attacks You: Activities Rule. Not the Clock! Export: Attack Your Day! Before Ities Rule. Not the Clock! Calibre title:Organize for a Fresh Start: Embrace Your Next Chapter in Life Export: Organize for a Fresh Start_ Eace Your Next Chapter in Life Calibre Author: Susan Fay West Export: West, Ssan Fay Calibre title:Organized Simplicity: The Clutter-Free Approach to Intentional Living Export:Organized Simplicity_ The Clproach to Intentional Living Calibre author: Tsh Oxenreider (Her first name is correctly vowel-free) Export: Oxenrer, Tsh (Her last name is mangled) Calibre title: Calm Energy: How People Regulate Mood With Food and Exercise Export: Calm Energy_ How People Regu Mood With Food and Exercise Calibre title: The Guild of the Cowry Catchers, Book 1: Embers, Deluxe Illustrated Edition Export:Guild of the Cowry Catchers, Beluxe Illustrated Edition, The Calibre Author:Abigail Hilton Export: Hiltonbigail In case it matters, the Sherlock Holmes book is one I exported to my desktop, and the others are being exported to a sub-sub-sub folder of my Documents. Can anyone tell me what's going on here? Can I fix it, or should I accept it as a slightly strange way to truncate long titles? |
![]() |
![]() |
![]() |
#2 |
Member
![]() Posts: 12
Karma: 12
Join Date: Aug 2011
Device: Sony Reader PRS-600
|
Did my attempt to hide the list fail? I'm still quite a noob - sorry.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@rmkoske - the following characters are not allowed in Windows file names
< (less than) > (greater than) : (colon) " (double quote) / (forward slash) \ (backslash) | (vertical bar or pipe) ? (question mark) * (asterisk) If you have them in book titles calibre will replace with '_' (underscore) when creating folder/file names derived from book titles Windows also places restrictions on path lengths, so calibre has to truncate long titles. I put subtitles and straplines into a separate custom column. Basically I strip the title down to its 'essentials' no straplines, no dates, no publisher, no series like data etc. What does your save to disk template look like? Not sure what you second post is referring to, your first post is fine. BR Last edited by BetterRed; 03-28-2015 at 08:22 PM. |
![]() |
![]() |
![]() |
#4 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,057
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
The other thing is all those names are really long and they get shortened to not violate maximum path naming limits.
2 for 2 ![]() |
![]() |
![]() |
![]() |
#5 |
Member
![]() Posts: 12
Karma: 12
Join Date: Aug 2011
Device: Sony Reader PRS-600
|
My template is
Code:
{author_sort}/{title}/{title} - {authors} The offending characters are being replaced fine, and the idea of truncation is okay with me, but I never expected it to truncate in the middle of the text string. And why did the Holmes book truncate when the 16 Lessons book didn't? I'm fairly certain that the Desktop doesn't have a path as long as the path to the archive folder I put that one into. ...although now that I look at it, the AUTHORS field for that Holmes book (it's an anthology) is ridiculous. "John Joseph Adams & Robert J. Sawyer & Stephen King & Michael Moorcock & Sharyn Mccrumb & Stephen Baxter & Anne Perry & Barbara Hambly & Tanith Lee & Neil Gaiman & Rob Rogers & Naomi Novik & Anthony Burgess" ![]() ![]() Hah! I replaced them with "Various," and voila - no truncation of the Holmes title. Yes, RM, total file path matters. ![]() I also noticed that I wasn't looking carefully - the FOLDERS that contain the book files have truncated names. Most of the files themselves are named properly. And I notice that the ones where the actual book filenames are truncated are also the three where the authors' names are truncated. So I'll just chalk all this down to file-path-length and unexpected truncation of the strings in the middle. Thanks so much for the suggestion about the custom column for subtitles et al. The Guild of the Cowry Catchers book slipped through during a period when I wasn't doing regular cleanup - I don't usually let the "book 1" stuff stand. But I couldn't figure out what to do with the subtitles on the other works. Now I have a direction to poke in. |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Member
![]() Posts: 12
Karma: 12
Join Date: Aug 2011
Device: Sony Reader PRS-600
|
Quote:
But I can completely live with chopping out the middles once I know that's what's going on. ![]() Thanks! |
|
![]() |
![]() |
![]() |
#7 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,057
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
![]() I always drop series info from the title (field) Forgotton Realms: I am trying => I am trying Watson come here: A Phony Mystery => Watson come here I usually drop subtitles =>(If I care, I look at the cover) I agree that 'Various' or the Editors name should appear in the Authors for counts >3 => Martin Greenberg (ed) Search: Code:
authors:#>3 |
|
![]() |
![]() |
![]() |
#8 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Putting subtitles and straplines into a separate columns can be useful for searching - especially if you exclude Comments from searching in the interest of speed - or you don't have any comments, and you don't want to over tag.
But bottom line is keep titles short - no extraneous stuff. |
![]() |
![]() |
![]() |
#9 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
I find it very helpful for anthologies, to use a slightly-modified default save template that subsets the authors field to only use the first author. Try this:
Code:
{author_sort:list_item(0,&)}/{title}/{title} - {authors:list_item(0,&)} |
![]() |
![]() |
![]() |
#10 |
Member
![]() Posts: 12
Karma: 12
Join Date: Aug 2011
Device: Sony Reader PRS-600
|
Time to do some more spring cleaning on my files, obviously.
Every time I come and spend serious time here, I come away understanding more about Calibre and able to make it work better for me. Thanks for the advice, everyone. |
![]() |
![]() |
![]() |
#11 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,057
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
![]() You will need some REGEX foo. But with that, you will be able to Split and move chunks to other fields trim out extra fluff normalize/standardize data (the Tag editor will also allow right click options) |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
File Name problem with save to disk | LadyKate | Library Management | 10 | 03-01-2014 09:23 PM |
Save to disk (file names) | HDvision | Library Management | 5 | 07-30-2011 04:23 AM |
Save to Disk | beckywc | Library Management | 3 | 06-06-2011 08:54 PM |
Save Duplicate Titles to Disk? | seanbob | Calibre | 2 | 05-19-2011 11:23 AM |
Save to Disk now saving file with full path? | Mnementh | Calibre | 3 | 09-14-2009 01:24 AM |