View Single Post
Old 03-23-2016, 03:56 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)
You can easily do that using a search and the Save-to-disk toolbar icon, but calibre also has a full-featured command-line interface documented here: http://manual.calibre-ebook.com/gene...cli-index.html

Use `calibredb search` to obtain a list of ids for the books you want (assuming the list is not static).
And use `calibredb export --to-dir=/path/to/GDrive/saved/folder id1,id2,id3,...` to export them.

Or combine them together. In bash this would be simple:
Code:
calibredb export --to-dir=/path/to/GDrive/saved/folder $(calibredb search 'some search string')
but I don't know that Windows' cmd.exe has command substitution capabilities.

Last edited by eschwartz; 03-23-2016 at 04:04 PM.
eschwartz is offline   Reply With Quote