![]() |
#1 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 737
Karma: 4306712
Join Date: Jun 2006
Location: Toronto
Device: Kobo Libra 2, Clara 2E, and Clara HD; Kindle PaperWhite
|
Saving cover results in illegal filename on Windows
Hi, Kovid.
If a book in the calibre library has a title such as this: American Prometheus: The Triumph and Tragedy of J. Robert Oppenheimer or, say: What Color Is Your Parachute? A Practical Manual for Job-Hunters and Career-Changers and you right click on the cover in the preview pane and select "Save cover to disk," choosing "Save" from the Windows dialog that appears results in this error: "The file name is not valid." And, indeed, it is not -- because of the colon in the first example and the question mark in the second. As a writer and editor, I use this feature a fair bit to harvest a bunch of covers at a time to show to artists and art directors so they can see similar results to what I'm hoping they'll achieve. Is it possible to have calibre either TRUNCATE the proposed file name at the first illegal character (colon, double quote, question mark, or asterisk -- the last sometimes used in titles that employ curse words) or SUBSTITUTE a legal character or characters in place of the illegal ones (perhaps a space followed by two hyphens and then another space -- like this, producing a typewriter em-dash -- rather than the colon-space combination so often used to separate titles from subtitles)? Either solution would be fine. Many thanks for your kind consideration! Rob |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,359
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 737
Karma: 4306712
Join Date: Jun 2006
Location: Toronto
Device: Kobo Libra 2, Clara 2E, and Clara HD; Kindle PaperWhite
|
Thank you, Kovid! You're the best!
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Prevent filename changing when adding to library or saving to device | font332 | Library Management | 9 | 12-28-2015 04:39 PM |
Saving to disk ebook with filename that includes amazon or asin | freemann | Library Management | 4 | 11-10-2014 02:36 PM |
Comments field results in bad characters upon saving to CSV | da_jane | Library Management | 1 | 11-21-2012 05:29 PM |
Windows Explorer v Calibre - same files, different results | Sondar | Library Management | 15 | 06-11-2011 07:24 AM |
MetaData from FileName and Saving Templates | ThemStones | Calibre | 2 | 12-05-2009 09:17 AM |