03-07-2024, 11:05 PM | #1 |
Member
Posts: 13
Karma: 10
Join Date: Apr 2020
Device: kindle paperwhite 3
|
How to change all tags to hierarchy
Hello! I'm trying to add all my tags to another column for easier library tagging management, I'm able to move all my tags from one column to another, but I'm not able to convert the tags to a hierarchy, eg:
long, fantasy, favourite -> long.fantasy.favourite I am trying to do this in bulk, but it appears like this: [your test] fantasy, long, favourite -> fantasy.long.favourite [book 1] fantasy, long, favourite -> fantasy ::: long ::: favourite https://imgur.com/a/uptNBDO Adding a \ before the comma doesn't help either. Any advice appreciated!! I have 0 programming knowledge whatsoever. Last edited by coolioniki; 03-07-2024 at 11:08 PM. Reason: image not showing |
03-08-2024, 01:01 PM | #2 |
Grand Sorcerer
Posts: 12,032
Karma: 7257323
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
It is hard to imagine how this can be useful. IIRC tags are unordered, so you could end up with long.fantasy.favourite, fantasy.long.favourite, favourite.fantasy.long, etc. It gets worse if you have more tags. That said ...
Search & replace operates on 1 tag at a time, not the set of tags. There is never a comma in a single tag, so your search/replace does nothing. To do what you want, you need to use the "template" search field. The template is {tags}, or perhaps in your case {#filter}. This lets you get all the tags as a single value instead as individual values. You then replace COMMA SPACE with PERIOD, as in ", " and ".". Set the destination field to tags or #filter. Here is an image of the Search & replace dialog. |
03-11-2024, 01:30 AM | #3 | |
Member
Posts: 13
Karma: 10
Join Date: Apr 2020
Device: kindle paperwhite 3
|
Quote:
|
|
Tags |
python, tagging |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Creating a hierarchy from tags | Snomad | Library Management | 4 | 09-12-2023 11:31 AM |
nested tags inheriting - any way to change? | jdrpersonal21 | Library Management | 1 | 03-28-2023 07:28 AM |
Change Case of ALL tags? | Uncle Robin | Library Management | 5 | 04-13-2021 12:44 PM |
Editing Tags Hierarchy | enonod | Library Management | 5 | 11-29-2013 05:59 AM |
Change Tags without Import into Library | mh445 | Devices | 8 | 05-21-2012 10:55 AM |