Quantcast
Channel: MobileRead Forums
Viewing all articles
Browse latest Browse all 50069

Update Tags through import

$
0
0
After downloading a CSV file and running it through ChatGPT I have realised I have a considerable amount of books without Tags.

I have had ChatGPT update the Tags against my book and export it to a an updated SS to achieve 100% Tags.

The recommended approach is below and I am wondering before I do this (if I can work that out), what is everyones / anyones thoughts

How to import back into Calibre

Calibre’s command line tool calibredb set_metadata can update individual metadata fields by book ID, including tags using the format --field tags:tag1,tag2. The Calibre documentation also supports specifying a library path where needed.

Recommended dry run first:

python3 apply_calibre_tags.py --csv Calibre_Tag_Updates_approved_only.csv --library-path "/path/to/Calibre Library"

Then apply:

python3 apply_calibre_tags.py --csv Calibre_Tag_Updates_approved_only.csv --library-path "/path/to/Calibre Library" --apply

This script replaces the Calibre tags field for each selected book ID. Back up your Calibre library before running it.

Viewing all articles
Browse latest Browse all 50069

Latest Images

Trending Articles



Latest Images