![]() |
#1 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
![]() |
![]() |
![]() |
#2 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 ![]() |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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"))'
|
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() 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
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
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 |