![]() |
#1 |
Member
![]() Posts: 11
Karma: 10
Join Date: Jun 2017
Device: Calibre
|
How 2 Clean Up Tags : Denizens of the cyberspace bit-bucket
Currently (in my opinion), there is an unfortunate trend to create overly complicated tags. That being said, I should hasten to say that some are very useful, but that the vast majority of them should be consigned permanently to the bit-bucket. As a result, I ask, is there a way in which to edit the tag list? I do not wish to remove them all, but there are many that are totally useless that I want to edit out. Thanks.
Mark Lee Last edited by Mark Lee; 07-18-2017 at 07:11 PM. |
![]() |
![]() |
![]() |
#2 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,062
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
You can rename (they will merge if the tag exists elsewhere), or Delete |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,730
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@Mark Lee - please use meaningful thread names, so that they show up in Search.
BR |
![]() |
![]() |
![]() |
#4 | ||
Member
![]() Posts: 11
Karma: 10
Join Date: Jun 2017
Device: Calibre
|
Quote:
Sorry, the vagueness was intentional. I was hoping to incite curiosity and responses. I shall refrain from doing it again. Mark Lee Quote:
Thanks. After the initial deletions that require no thought, I shall be stuck considering the validity of individual tags, or their edited replacements. Do you know if there is a way to display, or copy the entire list for a complete review at once? Thanks Mark Lee |
||
![]() |
![]() |
![]() |
#5 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,062
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
SQL spy? (DANGER make no changes using this tool. Use only Calibre to make changes or orphans can happen) Export the Tags table as CSV |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,730
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
FWIW: I use SQLite DB Browser and/or SQLLite Expert. @MarkLee - from me at least, rather than curiosity, cute thread titles are more likely to elicit a reaction of '%$#&* more Spam', then '$#^%&! idiot' as I change it ![]() It would be rare that a new thread in any calibre forum doesn't get a response within a couple of hours or half a day at most. There are several moderators, plugin developers, and many others who are active on a daily basis - and most importantly Kovid Goyal (post count 31K+). BR Last edited by BetterRed; 07-19-2017 at 10:08 PM. |
|
![]() |
![]() |
![]() |
#7 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
![]() |
![]() |
![]() |
#8 | |||
Member
![]() Posts: 11
Karma: 10
Join Date: Jun 2017
Device: Calibre
|
Quote:
There are two problems. The first is what is the name of the file which needs to be converted to a CSV format? The second problem is a hugely larger obstacle that obliterates the importance of the first hassle. Calibre's export feature is not an option that is available to me. I receive this error message when I seek to export: "calibre, version 3.4.0 ERROR: Cannot export/import: You are running calibre portable, all calibre data is already in the calibre portable folder. Export/import is unavailable." That is likely just as well, because it has been years (literally) since I edited a raw database table. I would be prone to screw it up to the point of being unusable, so your warning served its purpose well. I will just stick to using the built-in tag editor. Quote:
I bow to your superior knowledge of the workings of this discussion list. In my own defense, however, I have belonged to other discussion lists (yes, plural) where postings have been deliberately ignored, usually for a tin-pot god political reason, but ignored none-the-less. Quote:
Thanks for sharing that. If I ever return to a hard-drive installation of Calibre, I will remember that. Mark Lee |
|||
![]() |
![]() |
![]() |
#9 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,730
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Getting a CSV for a table from DB Browser for SQLLite or SQLite Expert is pretty simple and I'm sure the same would be true for SQLite Spy. And most importantly the names calibre uses for tables etc are easy to comprehend (e.g. authors, books, tags etc). FX to get a CSV of Tags from DB Browser for SQLLite, Open a metadata.db file in a calibre library folder, and then use File->Export->Table(s) as CSV : BR |
|
![]() |
![]() |
![]() |
#10 |
Member
![]() Posts: 11
Karma: 10
Join Date: Jun 2017
Device: Calibre
|
BR;
Actually, I found an alternative way to more easily review tags for later editing or removal using the Tag Browser. (For me, safer also). In the extreme left-hand column (just under the Virtual Libraries button) are listed a number of aspects regarding the entire collection - one of the entries is Tags. If one right clicks on the Tag category and then chooses the Expand All Children option an alphabetical listing of all tags appear that can be repeatedly scrolled up or down for review. Mark Lee |
![]() |
![]() |
![]() |
#11 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 137
Karma: 2156958
Join Date: Jan 2013
Device: Too many random androids to list
|
You can also clean them up with the tag mapper. The main purpose is to create rules so that frequent offenders from metadata downloads are corrected and/or merged into another tag on download, but it also works on existing books.
You can make rules to remove extraneous tags, add tags to all books, or replace tags with another like Replace the tag if it is one of: Dumb tag, Other dumb tag, Really dumb tag With: Much better tag You can find the tag mapper from the Download metadata dialog, or add it directly to a toolbar which works better on an existing library. When you press ok, it'll apply the current rules to all selected books, so once you're happy with your set of rules, just ctrl-a in the library and open tag mapper and press ok. And it'll apply the same rules to future metadata downloads, at least until you tell it not to. I even use it as a cheap macro expander sometimes (you can load and save different rulesets on the fly). It's a vastly underused tool IMO. (But calibre is full of those). |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Anyone performance tested the calibre 32bit vs 64 bit on Windows 7 32 bit & 64 bit? | millan | Devices | 6 | 11-07-2014 05:03 PM |
Calibre 32-bit and 64-bit Installed; Uninstall 32-bit? | J-Mac | Calibre | 6 | 06-29-2013 06:40 AM |
Screen cleaner ruined my eReader [tags: clean, cleaning] | Kevin8or | General Discussions | 44 | 10-11-2011 01:00 PM |
Short Fiction Martinez, Brian: A Good Clean, A Harsh Clean. v1. 13th Dec 2010 | BrianMartinez | Kindle Books | 0 | 12-13-2010 09:25 PM |
Short Fiction Martinez, Brian: A Good Clean, A Harsh Clean. v1. 13th Dec 2010 | BrianMartinez | ePub Books | 0 | 12-13-2010 09:23 PM |