Kovid,
in windows I'll get an error. There you need to replace ' to " and " to '.
calibre-debug -c "from calibre.library import db; db = db().new_api; print '\n'.join(db.all_field_names('authors'))"
I use it for build a text file via cmd that way:
calibre-debug -c "from calibre.library import db; db = db().new_api; print '\n'.join(db.all_field_names('authors'))" >AllAuthors.txt
Last edited by Divingduck; 05-01-2015 at 01:35 PM.
|