11-11-2011, 05:48 PM | #1 |
Junior Member
Posts: 4
Karma: 10
Join Date: Nov 2011
Device: SONY PRS-650
|
calibredb remove ...
Hi,
is there a way to delete alot of book at the same time from Calibre via the "calibredb remove" command? I will delete all books with tags:"x" or all book with series:"y". Something like this: Code:
calibredb list -s series:"xxx" | calibredb remove |
11-11-2011, 09:36 PM | #2 |
creator of calibre
Posts: 43,857
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
calibredb remove -h
Usage: calibredb remove ids Remove the books identified by ids from the database. ids should be a comma separated list of id numbers (you can get id numbers by using the list command). For example, 23,34,57-85 |
Advert | |
|
11-20-2011, 06:03 AM | #3 |
Junior Member
Posts: 4
Karma: 10
Join Date: Nov 2011
Device: SONY PRS-650
|
Thanks but after an
Code:
calibredb remove 1223-1237 Code:
Traceback (most recent call last): File "site.py", line 58, in main File "site-packages/calibre/library/cli.py", line 1192, in main File "site-packages/calibre/library/cli.py", line 361, in command_remove ValueError: int() base must be >= 2 and <= 36 |
11-20-2011, 06:08 AM | #4 |
creator of calibre
Posts: 43,857
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Typo, fixed in next release.
|
11-20-2011, 07:27 AM | #5 |
Junior Member
Posts: 4
Karma: 10
Join Date: Nov 2011
Device: SONY PRS-650
|
Thanks, waiting for next release.
|
Advert | |
|
11-25-2011, 11:14 AM | #6 |
Junior Member
Posts: 4
Karma: 10
Join Date: Nov 2011
Device: SONY PRS-650
|
Works better but the last book would be not remove from library.
Code:
calibredb remove 12-15 Thanks |
11-25-2011, 09:24 PM | #7 |
creator of calibre
Posts: 43,857
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That's the way lists indices work in python. Use 12-16
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
calibredb list | iomari | Calibre | 9 | 10-12-2011 11:30 AM |
calibredb list no subseries_index | reup | Library Management | 5 | 10-11-2011 10:32 AM |
calibredb | iomari | Calibre | 6 | 10-10-2011 08:35 AM |
calibredb strange behaviour | webwizard | Library Management | 9 | 04-17-2011 10:17 AM |
RFE: Remove remove tags in bulk edit | magphil | Calibre | 0 | 08-11-2009 10:37 AM |