View Single Post
Old 02-12-2014, 10:15 PM   #2
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Code:
calibredb add [--one-book-per-directory --with-library=LIBRARY_PATH] folder1 [folder2 folder3 ...]
will add a book to a library (defaults to currently selected startup library), using one-book-per-directory you can choose the library book subfolder.

Code:
calibredb list [--with-library=LIBRARY_PATH] [-s SEARCH]
can pass you info about the books in a library, with appropriate scripting you can extract the /path/to/book.

Code:
calibredb remove [--with-library=LIBRARY_PATH] comma-separated-list-of-book-ids
can then delete the book from the original library.
eschwartz is offline   Reply With Quote