I highly reccomend using calibre.
bonus points if you use a self hosted LLM to auto catalogue and apply metadata to the file before importing into calibre.
the recent openweight models are surprisingly good at reading files, pulling info, and doing simple monotonous tasks thousands of times without failing.