2015-11-21 13:06:10 +01:00
|
|
|
# calibredb
|
|
|
|
|
2024-02-14 17:25:13 -03:00
|
|
|
> Manipulate an e-book database.
|
2021-05-20 16:13:41 -04:00
|
|
|
> Part of the Calibre e-book library.
|
2019-06-03 02:06:36 +02:00
|
|
|
> More information: <https://manual.calibre-ebook.com/generated/en/calibredb.html>.
|
2015-11-21 13:06:10 +01:00
|
|
|
|
2021-05-20 16:13:41 -04:00
|
|
|
- List e-books in the library with additional information:
|
2015-11-21 13:06:10 +01:00
|
|
|
|
|
|
|
`calibredb list`
|
|
|
|
|
2021-05-20 16:13:41 -04:00
|
|
|
- Search for e-books displaying additional information:
|
2015-11-21 13:06:10 +01:00
|
|
|
|
2016-09-21 23:35:46 +08:00
|
|
|
`calibredb list --search {{search_term}}`
|
2015-11-21 13:06:10 +01:00
|
|
|
|
2021-05-20 16:13:41 -04:00
|
|
|
- Search for just ids of e-books:
|
2015-11-21 13:06:10 +01:00
|
|
|
|
2016-09-21 23:35:46 +08:00
|
|
|
`calibredb search {{search_term}}`
|
2015-11-21 13:06:10 +01:00
|
|
|
|
2021-05-20 16:13:41 -04:00
|
|
|
- Add one or more e-books to the library:
|
2015-11-21 13:06:10 +01:00
|
|
|
|
2024-09-25 02:22:55 +07:00
|
|
|
`calibredb add {{path/to/file1 path/to/file2 ...}}`
|
2015-11-21 13:06:10 +01:00
|
|
|
|
2024-02-19 11:13:42 -03:00
|
|
|
- [r]ecursively add all e-books under a directory to the library:
|
2020-02-17 10:30:04 +08:00
|
|
|
|
2024-09-25 02:22:55 +07:00
|
|
|
`calibredb add {{-r|--recurse}} {{path/to/directory}}`
|
2020-02-17 10:30:04 +08:00
|
|
|
|
2021-05-20 16:13:41 -04:00
|
|
|
- Remove one or more e-books from the library. You need the e-book IDs (see above):
|
2015-11-21 13:06:10 +01:00
|
|
|
|
2024-09-25 02:22:55 +07:00
|
|
|
`calibredb remove {{id1 id2 ...}}`
|