![]() |
#1 |
Enthusiast
![]() Posts: 34
Karma: 10
Join Date: Aug 2022
Device: Windows 10
|
Command that outputs a list of identifier values
Hello,
I'm wondering if it is possible with a command to output a list of custom identifier values from all the stored books. The custom identifier I'd like to output is named asin. I tried the followings - calibredb list --field=identifiers - lists the labels of identifiers such as mobi-asin, isbn, asin for each item. - calibredb list --field identifiers:asin - "Unknown fields: identifiers:asin" - calibredb list --field identifiers=asin - "Unknown fields: identifiers=asin" - calibredb list --field=identifiers:asin - "Unknown fields: identifiers:asin" Is it possible? Thanks. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,310
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
calibredb list --search identifiers:asin:true --field identifiers
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Enthusiast
![]() Posts: 34
Karma: 10
Join Date: Aug 2022
Device: Windows 10
|
Quote:
Code:
... 18125 mobi-asin, asin 18126 mobi-asin, asin 18127 mobi-asin, asin Code:
... 18125 B09S113LSH 18126 B0BM6NKVPS 18127 B0BM696KRV |
|
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,310
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Use --for-machine
|
![]() |
![]() |
![]() |
#5 |
Enthusiast
![]() Posts: 34
Karma: 10
Join Date: Aug 2022
Device: Windows 10
|
This worked. Thank you so much!
Code:
calibredb list --search identifiers:asin:true --field identifiers --for-machine |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Save to device outputs | maddz | Library Management | 7 | 07-19-2018 10:31 AM |
deleting tag values from the drop down list | peaceridge | Calibre | 12 | 12-14-2014 11:13 AM |
Custom Column Colors for "Text but with a fixed list of permitted values" | Skeeve | Calibre | 5 | 04-03-2014 01:44 PM |
Custom Column with list of permitted values | Eugenie | Library Management | 1 | 01-10-2012 03:57 AM |
refresh book list command | fbdev | Kindle Developer's Corner | 1 | 09-10-2011 10:27 AM |