View Single Post
Old 02-10-2018, 02:02 PM   #7
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
Plenty of text editors to automate converting the list of book ids to script. I use Notepad++ on Windows. Easy to do a regex search and replace of the list and save the result as batch file.

For example (using a csv/tag-type custom column for multiple values and easy access via tag browser):

1234
5678

to

calibredb set_custom #process 1234 "edit"
calibredb set_custom #process 5678 "edit"


Notepad++
search: ^(.*)$
replace: calibredb set_custom #process \1 "edit"


Really convenient particularly when one needs to mark hundreds (or even thousands) of books.
ilovejedd is offline   Reply With Quote