Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 04-30-2015, 11:59 PM   #1
LadyKate
Fanatic
LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.
 
Posts: 515
Karma: 1470724
Join Date: Jul 2013
Location: Quebec CA
Device: android 4 (samsung tablet and asus tablet)
Is there a way to export a list of all authors to a csv file?

I've just been wondering if there is a way to export the authors and/or author sort to a csv. I have not seen a way to do so but think it would be great to be able to look at the author list that way.
LadyKate is offline   Reply With Quote
Old 05-01-2015, 12:08 AM   #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)
Did you try making a catalog?

You *could* also use a sqlite browser to dump the authors table of the metadata.db
eschwartz is offline   Reply With Quote
Advert
Old 05-01-2015, 12:21 AM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
calibre-debug -c 'from calibre.library import db; db = db().new_api; print "\n".join(db.all_field_names("authors"))'
kovidgoyal is offline   Reply With Quote
Old 05-01-2015, 06:34 AM   #4
Divingduck
Wizard
Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.
 
Posts: 1,166
Karma: 1410083
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
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.
Divingduck is offline   Reply With Quote
Old 02-01-2022, 01:10 PM   #5
anishmittal
Junior Member
anishmittal began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Nov 2021
Device: Kindle Paperwhite 5 (2021)
calibre-debug -c 'from calibre.library import db; db = db().new_api; print ("\n".join(db.all_field_names("authors")))' | LC_COLLATE=C sort
anishmittal is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
export list of books in a csv file jcarlier Conversion 8 09-07-2013 09:59 PM
Bulk update of Calibre from .csv file, is it possible ? Play-with-Books Library Management 7 09-12-2012 05:08 AM
Import books from a CSV file EricBr Library Management 1 12-02-2011 11:35 AM
Import books from excel, csv or similar list? BadGandalf Library Management 34 02-11-2011 01:32 PM
Export to CSV/XLS? highwaykind Calibre 19 05-31-2009 02:35 PM


All times are GMT -4. The time now is 01:15 PM.


MobileRead.com is a privately owned, operated and funded community.