calibredb
Manipulate an e-book database. tldr-pages
On several platforms
Several platforms
Manipulate an e-book database. Part of the Calibre e-book library.
List e-books in the library with additional information
calibredb listIdentifySearch for e-books displaying additional information
calibredb list --search search_termIdentifySearch for just ids of e-books
calibredb search search_termIdentifyAdd one or more e-books to the library
calibredb add path/to/file1 path/to/file2 ...IdentifyRecursively add all e-books under a directory to the library
calibredb add --recurse path/to/directoryIdentifyRemove one or more e-books from the library. You need the e-book IDs (see above)
calibredb remove id1 id2 ...Identify