Tool to manipulate the your ebook database. Part of the Calibre ebook library.
# To list ebooks in the library with additional information:
calibredb list
# To search for ebooks displaying additional information:
calibredb list --search <search_term>
# To search for just ids of ebooks:
calibredb search <search_term>
# To add one or more ebooks to the library:
calibredb add <file1 file2 ...>
# To recursively add all ebooks under a directory to the library:
calibredb add -r <path/to/directory>
# To remove one or more ebooks from the library. You need ebook-ids (see above):
calibredb remove <id1 id2 ...>