I would like to use a command line to extract the title of a book (possibly also other metadata) from its epub file and return it as a string.
I am using Linux, but my guess is that the question makes sense in any other environment.
I was expecting to easily find a clear and simple answer by serching the web. But that is not apparently the case, or I am still to ignorant to recognize answers.
The command could look like: getbookinfo -m title myfile.epub
and would yield the title of the book found in the epub file.