![]() |
#1 |
Enthusiast
![]() Posts: 27
Karma: 10
Join Date: Nov 2024
Device: Tolino 4HD
|
calibre db result with comma separated id's
Hi,
I try to bring Code:
calibredb list -f id --with-library "C:\Users\Dirk\Calibre-Bibliothek" --search 'date:<10daysago' Code:
| cut -f1 -d" " | tail -n+2 May some has an idea. Thanks MP |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
When I do the following in a windows cmd box:
Code:
calibredb list -f id --search "date:<10daysago" Example output: Code:
id 50 208 209 1059 1060 1062 If you are trying to get rid of the first line (id) then see the solutions in this post. What version of calibre are you running? |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Enthusiast
![]() Posts: 27
Karma: 10
Join Date: Nov 2024
Device: Tolino 4HD
|
Hi.
I geht the same result. But i want to geht Pike 50, 208,209..... So instead oft newline a comma. Version 7.21 is here in use. BR MP |
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
I don't think calibredb can do it natively and I don't know how to do it in the windows cmd line. However, a simple python script can convert the output to a comma separated list.
To use it:
Last edited by chaley; 11-20-2024 at 03:54 AM. Reason: fix file name in last line |
![]() |
![]() |
![]() |
#5 |
Enthusiast
![]() Posts: 27
Karma: 10
Join Date: Nov 2024
Device: Tolino 4HD
|
Many thanks, very helpfull!
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Escaping Comma in Custom Comma Separated Text Column | Kelpman | Library Management | 2 | 12-07-2023 10:58 AM |
Search and Repace in comma separated list | Hortensia | Library Management | 2 | 10-20-2021 05:47 PM |
Custom column - Comma separated text | MerlinMama | Library Management | 4 | 09-17-2015 02:34 PM |
Multiple comma separated values in custom column? | silentguy | Library Management | 8 | 04-19-2011 05:10 AM |
Switching author name from comma separated to first last | kbaggs | Library Management | 1 | 01-30-2011 03:36 PM |