View Single Post
Old 07-12-2011, 03:44 PM   #5
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by over1 View Post
The filenames of my e-books are in a particular format I like, that is {author_inverted} - {title} ({year}) or {author_inverted} - {series} - {title} ({year}) but calibre changes the filenames to {title} - {author}

How can I keep my filenames intact?
As theducks has pointed out in this sticky post the database keeps the files named for its use and can't be altered. However as you have already discovered you can export books via the Save to disk feature in any way you wish.

Quote:
Originally Posted by over1 View Post
The closest I got with save to disk was {authors} - {title} ({pubdate}) but this isn't what I want.
Try the below code in your save template under Preferences - Saving Books to disk it should give you the format you requested.

Code:
{author_sort} - {series:||-}{series_index:re(^(\d)(\.|$),0\1\2)||-}{title} ({pubdate})
DoctorOhh is offline   Reply With Quote