Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 07-18-2017, 07:09 PM   #1
Mark Lee
Member
Mark Lee began at the beginning.
 
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.
Mark Lee is offline   Reply With Quote
Old 07-18-2017, 08:28 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
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:
Originally Posted by Mark Lee View Post
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
In the Tag Browser: (Tag Section) Right-click: Manage
You can rename (they will merge if the tag exists elsewhere), or Delete
theducks is offline   Reply With Quote
Old 07-18-2017, 08:51 PM   #3
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,731
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
BetterRed is offline   Reply With Quote
Old 07-19-2017, 07:45 PM   #4
Mark Lee
Member
Mark Lee began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jun 2017
Device: Calibre
Quote:
Originally Posted by BetterRed View Post
@Mark Lee - please use meaningful thread names, so that they show up in Search.

BR
BR;
Sorry, the vagueness was intentional. I was hoping to incite curiosity and responses. I shall refrain from doing it again.

Mark Lee

Quote:
Originally Posted by theducks
In the Tag Browser: (Tag Section) Right-click: Manage
You can rename (they will merge if the tag exists elsewhere), or Delete

the ducks
The Ducks;
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
Mark Lee is offline   Reply With Quote
Old 07-19-2017, 08:57 PM   #5
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
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:
Originally Posted by Mark Lee View Post
BR;
Sorry, the vagueness was intentional. I was hoping to incite curiosity and responses. I shall refrain from doing it again.

Mark Lee



The Ducks;
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
Maybe
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
theducks is offline   Reply With Quote
Old 07-19-2017, 10:03 PM   #6
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,731
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by theducks View Post
Maybe
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
Are you sure SQL Spy can handle SQLite, I thought it was MS SQL Server only.

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 But the main reason is search.

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.
BetterRed is offline   Reply With Quote
Old 07-20-2017, 08:29 AM   #7
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by BetterRed View Post
Are you sure SQL Spy can handle SQLite, I thought it was MS SQL Server only.
I use SQLiteSpy. Works fine.
chaley is offline   Reply With Quote
Old 07-20-2017, 08:34 PM   #8
Mark Lee
Member
Mark Lee began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jun 2017
Device: Calibre
Quote:
Originally Posted by theducks
In the Tag Browser: (Tag Section) Right-click: Manage
You can rename (they will merge if the tag exists elsewhere), or Delete

the ducks
the ducks;

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:
Originally Posted by BetterRed
@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 But the main reason is search.

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
BR;

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:
Originally Posted by chaley
I use SQLiteSpy. Works fine.
Chaley;
Thanks for sharing that. If I ever return to a hard-drive installation of Calibre, I will remember that.

Mark Lee
Mark Lee is offline   Reply With Quote
Old 07-20-2017, 10:50 PM   #9
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,731
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Mark Lee View Post
"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."
The export/import feature has a very specific purpose - to facilitate moving all calibre data (config and libraries) from one computer to another.

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 :

Click image for larger version

Name:	2.jpg
Views:	141
Size:	34.2 KB
ID:	158026

BR
BetterRed is offline   Reply With Quote
Old 07-21-2017, 02:22 PM   #10
Mark Lee
Member
Mark Lee began at the beginning.
 
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
Attached Thumbnails
Click image for larger version

Name:	expand.jpg
Views:	146
Size:	30.1 KB
ID:	158031  
Mark Lee is offline   Reply With Quote
Old 07-21-2017, 04:39 PM   #11
Krazykiwi
Zealot
Krazykiwi ought to be getting tired of karma fortunes by now.Krazykiwi ought to be getting tired of karma fortunes by now.Krazykiwi ought to be getting tired of karma fortunes by now.Krazykiwi ought to be getting tired of karma fortunes by now.Krazykiwi ought to be getting tired of karma fortunes by now.Krazykiwi ought to be getting tired of karma fortunes by now.Krazykiwi ought to be getting tired of karma fortunes by now.Krazykiwi ought to be getting tired of karma fortunes by now.Krazykiwi ought to be getting tired of karma fortunes by now.Krazykiwi ought to be getting tired of karma fortunes by now.Krazykiwi ought to be getting tired of karma fortunes by now.
 
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).
Krazykiwi is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 10:50 AM.


MobileRead.com is a privately owned, operated and funded community.