|
That would do it yes.
To break down the template a bit more:
Ebooks/{author_sort:sublist(0,1,&)}/{title} - {languages} - {authors:sublist(0,1,&)}
The Ebooks at the start of the string just keeps the book files from being stored in the root directory since that has limited directory storage and with long file names taking up multiple entries, you can easily run out of directory entries before disk space. Subdirectories can extend the directory storage so that is not an issue.
The {author_sort:sublist(0,1,&)} entry stores the book files in subdirectories under Ebooks based on the first entry in the author sort list. The :sublist(0,1,&) is what restricts it to the first entry. This is based on trying to keep the total filepath/filename entries as short as possible since calibre will start truncating to fit if they get too long.
The {title} entry is calibre's title string used as the first part of the filename. I do not include subtitles or "A Novel" or etc. in the title.
The {authors:sublist(0,1,&)} uses the first entry in the author list as part of the filename. Again this is more to keep the total filename/filepath below calibre's clipping threshold.
For your purposes, the {languages} item will add the 3 character language name to the filename. If the book has more than 1 language declared, you might want to add the :sublist(0,1,&) there as well to keep the first language.
Good luck!
Last edited by DNSB; 10-16-2026 at 02:59 PM.
|