bulk import of metadata using files and command line
I imported a large number of book to calibre. The meta information like authors, cover, comments were bad.
So i googled a long time and tested a procedure to harmonize my library. I used the commands "fetch-ebook-metadata" to create machine readable input. I downloaded missing covers, too.
At this point I got everything to update Calibre library but needed a collection of scripts to perform the meta data bulk upload. Whoever is interested in the scripts my give me a PN.
Scripts are running on windows with cygwin (you definitely need tools like grep,awk etc.)
Functions:
get the internal id of an ebook (my sample acts with the series_index)
mask text input (e.g. in comments) to avoid shell confusion
update the metadata author,comments,id,cover
At the moment parameters are missing but the first working sample is ready.
|