I have a Win10 VBS that copies ePubs to a flat folder and renames it as
"Terry Pratchett-Discworld[01]-Colour of Magic, The.epub"
Code:
calibredb export --progress --all --dont-save-cover --dont-write-opf --format epub --dont-update-metadata --single-dir --template "{authors}-{series}{series_index:0>2s|[|]-}{title}" --to-dir "D:\eBooks\ePub"
Similar one for KFX
I only have 620 books, 543 ePubs and 222 KFXs, with some books in both formats, since I like to work with ePub in the editor and convert to KFX to side load to my Kindle. I find it's easier for me with the template renaming the file