|
|
Thread Tools | Search this Thread |
03-13-2020, 05:03 PM | #1 |
Enthusiast
Posts: 49
Karma: 2300
Join Date: Jul 2013
Device: iPad+MacBookPro
|
How can I save all my tags to a file, and how can another macOS Calibre user it?
I want to save all my tags at a specific moment in a file, and pass this one on to a friend who too, uses Calibre under macOS, like myself.
How could my friend import this file, and thus overwrite his own tags? Can anybody help me with this? Thank you adrianf |
03-13-2020, 05:36 PM | #2 |
null operator (he/him)
Posts: 20,946
Karma: 27620688
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Create a empty book with an empty EPUB, add all your tags to that book, Polish the book (to put the tags in the EPUB), and email the EPUB to your friend.
Your friend adds the EPUB to their library, et voila all your tags are in their library. They must leave the book there as a place holder for the Tags, as you probably know you cannot have Tags (or any other category) that are not attached to a book. Tip: use shift click in the Tags editor's Available tags list to select multiple items. @Kovid - just a nitpick: the Add books->Add empty books option (Book entry with no formats) is no longer quite true. BR Last edited by BetterRed; 03-13-2020 at 05:46 PM. Reason: note to Kovid |
Advert | |
|
03-14-2020, 02:25 AM | #3 |
Guru
Posts: 767
Karma: 2090886
Join Date: May 2019
Device: Kindle Oasis 1st Gen
|
And just to be clear, your tags WON'T "overwrite" his tags, but simply add to his collection of tags. He'll still have to assign them to the books he wants.
|
03-14-2020, 02:53 AM | #4 |
Wizard
Posts: 3,305
Karma: 10259306
Join Date: May 2016
Device: kobo forma, Kobo Libra, Huawei media Tab, fire HD10, PW3 HDX8.9,
|
... and there is no simple way to replicate your tags into books assignments into another library, on a book by book basis . because his book folders will probably have different calibre IDs to yours, within the black box calibre database.
maybe you are over-complicating it. unless you have hundreds of tags it may be faster to generate a catalogue, with the tags shown, [ or screenshots] send that, do manual updates when received |
03-14-2020, 06:34 AM | #5 |
Enthusiast
Posts: 49
Karma: 2300
Join Date: Jul 2013
Device: iPad+MacBookPro
|
saving tags to a file; importing that file
Many thanks, stumped, Bookstooge, and BetterRed, for your suggestions. Very kind of you.
If I understand correctly, there is no way of saving the list of all tags at a specific moment into a file. The simplest way to conserve tags seems to me to be (thank you, BetterRed), to create a dummy book with all tags. But this does very much look like a patch to me, and an ugly one, at that. Do you know of any, more natural, way of saving tags into a file? Are the tags so deeply buried into Calibre? Does anybody have a more direct connection to @Kovid to know if this suggestion about saving tags to a file will, at least, be considered in a future version? Thank you all |
Advert | |
|
03-14-2020, 06:57 AM | #6 |
creator of calibre
Posts: 44,377
Karma: 23764838
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Your request is not well defined. You can save the list of tags trivially, but how is your friend supposed to import them overwriting his tags?? how will he know which tag goes to which book?? What happens for books that exist in one library and not the other??
|
03-14-2020, 07:04 AM | #7 |
Guru
Posts: 767
Karma: 2090886
Join Date: May 2019
Device: Kindle Oasis 1st Gen
|
reply no longer relevant since Kovid replied.
Last edited by Bookstooge; 03-14-2020 at 07:06 AM. Reason: Edited as Kovid replied |
03-14-2020, 07:22 AM | #8 |
Enthusiast
Posts: 49
Karma: 2300
Join Date: Jul 2013
Device: iPad+MacBookPro
|
Thank you, @Kovid, for your fast reaction.
I was thinking in being able to (1) save all tags in, say, a csv format file; (2a) import such a csv file among the already existing tags wthout deleting any; or (2b) to import such a csv file to replace the already existing tags. It goes without saying that there should be clear parsing conditions under which such a csv file is accepted as a valid tags file. Kovid, does it make more sense now? If so, do you think this might be possible to implement in a future version? |
03-14-2020, 07:43 AM | #9 |
Wizard
Posts: 3,305
Karma: 10259306
Join Date: May 2016
Device: kobo forma, Kobo Libra, Huawei media Tab, fire HD10, PW3 HDX8.9,
|
Won't work.
Because as previously explained the master list of tags is generated by collating all tags in use in books.in library, and auto regenerates with changes to books. Tags cannot exist without books containing them Which his good, because deleting books auto removes orphaned tags. You need to go back to previous suggested workaround |
03-14-2020, 08:48 AM | #10 |
null operator (he/him)
Posts: 20,946
Karma: 27620688
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
You can save them to a csv with the calibredb list_categories command, see ==>> Command Line Interface
But there's no easy way to add them into library because of calibre's "a category will only be retained if its attached to a book' rule. Because it only uses standard features of calibre and your email accounts (or similar) I'd call my method a process, rather than a patch.
I'd call having to retain placeholder books with category lists a kludge. I've been wishing for a controlled vocabulary option on categories since I started using calibre in 2011. But I assume its not easy to do, otherwise someone would have done it. BR Last edited by BetterRed; 03-14-2020 at 08:54 AM. |
03-14-2020, 09:27 AM | #11 | |
Well trained by Cats
Posts: 30,391
Karma: 58053698
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
The Book of All Tags (post 2) is the only way. THAT BOOK MUST REMAIN until all tags have a usage count of 2 or more (1 being the BOAT), or Calibre auto-cleans out the Not in Use tags, (Authors, Series, Publishers...) |
|
03-14-2020, 10:18 AM | #12 | |
Deviser
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
Match on ISBN via JS Import CSV to Update Metadata Tool
Quote:
Assuming your friend has mostly the same books as you, and assuming both you and he have the identical ISBN for the same book, this is easy to do. See the attached image. [1] You create a Calibre Catalog .csv file with only columns ISBN and Tags, and give it to your friend. [2] Your friend creates a new custom column of type "comments-plain text-simple text", and then populates it using Bulk Metadata Edit Search & Replace from Identifier Type 'isbn'. Important: the custom column must be "real", not "virtual" or "composite" or "built from others", since the JS Tool reads the metadata.db, not the GUI Cache, to do its work. [3] Your friend imports your .csv file via the tool shown in the attached image, and matches the ISBN in the .csv to his ISBN in his new custom column. The column to update is Tags. DaltonST n.b. the easy way to copy all Tags (or any other Tag-like custom column) from one library to another is to use the Job Spy "Mega-Metadata Reference Dropdown Helper" tool to automatically add all Tags to a single book you pick, then export the book with .opf file to disk. Then import the book. Now, all of the Tags from the first library exist in the second library, but of course only in that special book. Last edited by DaltonST; 03-14-2020 at 10:24 AM. |
|
03-14-2020, 08:26 PM | #13 | |
null operator (he/him)
Posts: 20,946
Karma: 27620688
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
@adrianf - JobSpy's "Mega-Metadata Reference Dropdown Helper" does with a single click what my step 2 does with a click on every Tag. Obviously I didn't know about it until now. BR |
|
03-15-2020, 05:55 AM | #14 |
Enthusiast
Posts: 49
Karma: 2300
Join Date: Jul 2013
Device: iPad+MacBookPro
|
Sorry, @BetterRed, for being a nuisance; I do not find the «JobSpy's "Mega-Metadata Reference Dropdown Helper"» you talk about, although I have checked «Automatically start the Edit Metadata Dropdown Visible items increaser daemon at Calibre startup» when customising Job Spy. (Of course, I restarted Calibre, but I still to not find the Dropdown Helper you mentioned.)
Thank you for some additional help. |
03-15-2020, 06:55 AM | #15 | |
null operator (he/him)
Posts: 20,946
Karma: 27620688
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
The JS configuration setting should be: Then, with the 'Empty Book" current, press (click/select return whatever) the "Mega Metadat...." option: Hey presto the book will have all the tags: BR |
|
Tags |
save, save tags, tag |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Replicate Calibre tags in file system? | -dp- | Library Management | 3 | 11-06-2019 04:13 PM |
How to sync MacOs Finder Tags with Calibre Tags | EmilThelonius | Calibre | 13 | 09-11-2019 12:53 PM |
[MacOS] Save question marks and ellipses on disk | Yako | Library Management | 17 | 06-28-2019 08:25 AM |
Embedding TAGS specifically on MacOS | ghoetker | Library Management | 1 | 12-04-2018 04:10 AM |
tags wrong in mobi file opened by calibre | stargate | Library Management | 8 | 02-01-2011 05:53 PM |