View Single Post
Old 02-25-2014, 02:27 PM   #5
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)
No I get a list of ids, one per line. calibredb list always gives you the ids field, plus the -f "fields".

Code:
  -f FIELDS, --fields=FIELDS
                        The fields to display when listing books in the
                        database. Should be a comma separated list of fields.
                        Available fields: *annotations,*asin,*file,*filesave,*
                        subseries,*subseries_index,*titlesave,author_sort,auth
                        ors,comments,cover,formats,identifiers,isbn,last_modif
                        ied,pubdate,publisher,rating,series,series_index,size,
                        tags,timestamp,title,uuid
                        Default: title,authors. The special field "all" can be
                        used to select all fields. Only has effect in the text
                        output format.
and ids isn't on the list of available fields.

So passing the empty string I used to clear the default fields, but I have no idea why it's erroring for you.

....

Found it! It's a Windows problem, not calibre. Apparently powershell doesn't like empty strings, see here for how to deal with it: http://stackoverflow.com/questions/1...ing-powershell
eschwartz is offline   Reply With Quote