View Single Post
Old 06-02-2015, 04:43 PM   #17
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,825
Karma: 30277270
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@loviedovie - calibre munges the book title and author names to accommodate the vagaries of the different operating/file systems it supports. The shortening is done to fit names into Windows 255 (ish) path length limit. IIRC the loss of diacritics and 'conversion' of non latin characters (Greek, Cyrillic etc) to ASCII is done in order to maintain compatibility with some Linux file systems.

You could try something along these lines
  • delete all the djvu's in the library book folders;
  • save the pdfs to a flat folder with template {title} - {authors} using Save to Disk;
  • write a bash script to convert the pdf files to djvu files, with same file names;
  • delete the pdfs;
  • use the Add books from single directory to add the djvu files, with appropriate Add Books settings.
FWIW - to reduce the incidence of shortened file names, I truncate Titles by putting subtitles and straplines into a custom column, so for that sample previously cited, I would have 'The Artistic Anatomy of Trees' in the Title column and 'Their structure & treatment in painting' in my Strapline column.

BR
BetterRed is offline   Reply With Quote