View Single Post
Old 06-13-2019, 07:56 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: 21,736
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by cbook7 View Post
Hi,

I need to ensure that 'Save to disk' and 'Send To Device' use the same filename that Calibre assigns to books in the library.

The format seems to be:

book_title (up to X chars max) - 1st_author (up to Y chars max)

and characters '?' and ':' (possibly others?) are replaced by an underscore


From what I can tell this could be via a Template, but is sadly way over my head. I'd be very grateful if anyone could provide a recipe for this. If X and Y are not known leave them as x an y. I'll have a play around to figure them out.
As far as I know the rules for formulating folder and file names within calibre libraries are embedded in the code, they're also platform, file system, and language dependent. And those rules are subject to change, as they have done in the past.

An example of when they might change is when 32Kb file and folder names become commonplace in Windows.

BR
BetterRed is offline   Reply With Quote