Sirtel's method is easiest
Before that, we used the
CLI utility calibredb --list <with more options>
See the
command line interfacesection on the Calibre Help page for the gory details on possible options
https://manual.calibre-ebook.com/gen...ented-commands