See
https://manual.calibre-ebook.com/faq...tory-structure
The GetFileName File Type plugin will store the original file name (path) in the database, see
Index of plugins
And there's an extensive set of CLI tools (including conversion) that don't need a calibre library, see
https://manual.calibre-ebook.com/#th...line-interface
BR