Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 01-05-2020, 05:00 PM   #1
RobertJSawyer
Evangelist
RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.
 
RobertJSawyer's Avatar
 
Posts: 478
Karma: 1800000
Join Date: Jun 2006
Location: Toronto
Device: Kobo Clara HD, Aura HD, Aura, Mini; 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
RobertJSawyer is offline   Reply With Quote
Old 01-06-2020, 02:23 AM   #2
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: 36,074
Karma: 15014853
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://github.com/kovidgoyal/calibr...067dab787b1089
kovidgoyal is offline   Reply With Quote
Advert
Old 01-06-2020, 06:06 PM   #3
RobertJSawyer
Evangelist
RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.
 
RobertJSawyer's Avatar
 
Posts: 478
Karma: 1800000
Join Date: Jun 2006
Location: Toronto
Device: Kobo Clara HD, Aura HD, Aura, Mini; Kindle PaperWhite
Thank you, Kovid! You're the best!
RobertJSawyer is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
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 05:39 PM
Saving to disk ebook with filename that includes amazon or asin freemann Library Management 4 11-10-2014 03:36 PM
Comments field results in bad characters upon saving to CSV da_jane Library Management 1 11-21-2012 06:29 PM
Windows Explorer v Calibre - same files, different results Sondar Library Management 15 06-11-2011 08:24 AM
MetaData from FileName and Saving Templates ThemStones Calibre 2 12-05-2009 10:17 AM


All times are GMT -4. The time now is 12:30 PM.


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