![]() |
#1 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Dec 2019
Device: Honor 8
|
Cant figure out how to catalog using calibredb
Hi folks. I have 45,000 books across 7 Calibre libraries. I want to use calibredb to create catalogs for all the libraries and merge them into one .csv file to make it easier to find all of an authors books, regardless of genre.
The documentation for calibredb isn't clear enough to help me do this successfully. For my test, I tried to catalog my archive library C:\"Program Files"\Calibre\calibredb catalog archives C:\batch\test\archives.csv But I get: Failed to initialize plugin: 'C:\\Users\\Dan\\AppData\\Roaming\\calibre\\plugin s\\DeDRM.zip' [34m[1mUsage[0m: [33m[1mcalibredb.exe[0m command [options] [arguments] Can someone explain to me how to write a script that actually works, please? Thanks! Dan Goodale |
![]() |
![]() |
![]() |
#2 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 243
Karma: 291844
Join Date: Oct 2019
Device: Kobo Nia
|
The syntax is
calibredb catalog outputfilenamehere --library-path=path to the archive library For a full list of what options are available use calibredb catalog outputfilenamehere --help Last edited by georgemk; 11-18-2020 at 06:32 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,005
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
AFAIK calibredb has no ability to append to a single CSV |
|
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Dec 2019
Device: Honor 8
|
So I used "C:\Program Files\Calibre\calibredb catalog c:\batch\archives.csv" and actually got a catalog for my Fantasy library.
How do I tell it what library to catalog? I need one for all 7 libraries so I can merge them all into 1 file. |
![]() |
![]() |
![]() |
#5 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,698
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
See the --library-path, --with-library Global options in ==>> calibredb — calibre 5.5.0 documentation
BR |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Dec 2019
Device: Honor 8
|
almost there
Sorry folks, I'm not good at understanding manuals. But, I've got it pretty much figured out through trial and error. Now all I need is a way to exclude, or only include, certain columns. It looks like you can choose fields if you're generating a list but, I don't see how to exclude them in a catalog without using the GUI.
Any helpful suggestions? |
![]() |
![]() |
![]() |
#7 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 243
Karma: 291844
Join Date: Oct 2019
Device: Kobo Nia
|
Just add the --fields option at the end of your command line
Quote:
Code:
calibredb catalog mylibary.csv --fields=title,authors |
|
![]() |
![]() |
![]() |
#8 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Dec 2019
Device: Honor 8
|
AWESOME George! You have NO idea how helpful that was. My library grows almost daily and since authors don't stay in one genre, a spreadsheet is really the only way to find an authors books across all libraries, as far as I know. Building it by hand stunk!
Thanks!!!!! |
![]() |
![]() |
![]() |
#9 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,410
Karma: 238915019
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
Quote:
|
|
![]() |
![]() |
![]() |
#10 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Dec 2019
Device: Honor 8
|
Yeah, I was doing that, Sirtel, but my searches start slowing down as soon as I get more than about 18,000 books in a library so I had to split them all up, darn it!
Thanks for the suggestion though! |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibredb Catalog "cannot generate catalog in EPUB format | rracoon01 | Library Management | 5 | 07-13-2018 08:19 PM |
calibredb won't export catalog after upgrade to 3.1.1 | jvorzimmer | Library Management | 4 | 06-26-2017 10:52 PM |
"calibredb catalog" and customized column with template | commandante | Library Management | 2 | 07-19-2016 03:41 PM |
command line "calibredb catalog" problems | Divingduck | Calibre | 12 | 12-26-2014 05:01 PM |
calibredb catalog CLI error | ilovejedd | Library Management | 4 | 02-06-2012 10:26 AM |