@Latios would seem to have a point. If an Author's name ends in a dot (.) it seems to get a different treatment to a Title that ends in a dot (.),
On Windows/NTFS I created this book
Then with these StD basic settings
... and this template
Code:
{title}. {author_sort}. {:'format_date (raw_field ('pubdate'),'yyyy')'|. |}
I get this file name
Code:
Hello_ Better Red_ . 2000.epub
And with this template (the one Latios posted)
Code:
{author_sort}. {title}{:'format_date (raw_field ('pubdate'),'yyyy')'|. |}
I get this file name
Code:
Better Red_ Hello.. 2000.epub
Curious : @
Latios - why do you want dots in the file names?
BTW, in my Test library (which is the one I was using) I don't swap first and last names to create Author Sort.
BR