View Single Post
Old 07-18-2015, 06:42 AM   #15
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,454
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by phossler View Post
Now I just have to figure out how to pass the txt file as a list of IDs to caliber export
The following works in Win 7 dos box, of course with appropriate changes for your configuration.
Code:
for /f "usebackq" %a in (`calibredb search "tags:science fiction"`) do calibredb export %a --to-dir=bar
And yes it is indeed ugly, but it works.
chaley is offline   Reply With Quote