Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 03-13-2020, 05:03 PM   #1
adrianf
Enthusiast
adrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it is
 
adrianf's Avatar
 
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
adrianf is offline   Reply With Quote
Old 03-13-2020, 05:36 PM   #2
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: 20,576
Karma: 26954694
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
BetterRed is online now   Reply With Quote
Advert
Old 03-14-2020, 02:25 AM   #3
Bookstooge
Guru
Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.
 
Bookstooge's Avatar
 
Posts: 760
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.
Bookstooge is offline   Reply With Quote
Old 03-14-2020, 02:53 AM   #4
stumped
Wizard
stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.
 
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
stumped is offline   Reply With Quote
Old 03-14-2020, 06:34 AM   #5
adrianf
Enthusiast
adrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it is
 
adrianf's Avatar
 
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
adrianf is offline   Reply With Quote
Advert
Old 03-14-2020, 06:57 AM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,860
Karma: 22666666
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??
kovidgoyal is offline   Reply With Quote
Old 03-14-2020, 07:04 AM   #7
Bookstooge
Guru
Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.
 
Bookstooge's Avatar
 
Posts: 760
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
Bookstooge is offline   Reply With Quote
Old 03-14-2020, 07:22 AM   #8
adrianf
Enthusiast
adrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it is
 
adrianf's Avatar
 
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?
adrianf is offline   Reply With Quote
Old 03-14-2020, 07:43 AM   #9
stumped
Wizard
stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.
 
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
stumped is offline   Reply With Quote
Old 03-14-2020, 08:48 AM   #10
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: 20,576
Karma: 26954694
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.
  1. Add an empty book with a 'blank' epub to the library.
  2. Apply all the tags to that book with the Tags Editor
  3. Polish the Book with the update metadata option checked
  4. Save the Book (ePub only) to Desktop
  5. Email the ePub to your friend,
  6. Friend saves the ePub attachment to his/her desktop
  7. Friend drag-drops the ePub from their desktop into their library
See screen shots and attached epub

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
Attached Thumbnails
Click image for larger version

Name:	1.jpg
Views:	101
Size:	126.0 KB
ID:	177694   Click image for larger version

Name:	2.jpg
Views:	105
Size:	43.9 KB
ID:	177695   Click image for larger version

Name:	3.jpg
Views:	98
Size:	48.1 KB
ID:	177696   Click image for larger version

Name:	4.jpg
Views:	104
Size:	94.6 KB
ID:	177697   Click image for larger version

Name:	5.jpg
Views:	108
Size:	61.1 KB
ID:	177698  
Attached Files
File Type: epub My Book.Red, Better_.epub (5.4 KB, 117 views)

Last edited by BetterRed; 03-14-2020 at 08:54 AM.
BetterRed is online now   Reply With Quote
Old 03-14-2020, 09:27 AM   #11
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: 29,809
Karma: 54830978
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 adrianf View Post
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?
CSV is not an option BECAUSE you can't import anything that has no place used.

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...)
theducks is offline   Reply With Quote
Old 03-14-2020, 10:18 AM   #12
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
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:
Originally Posted by adrianf View Post
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?

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.
Attached Thumbnails
Click image for larger version

Name:	js_import_csv_to_update_metadata_20191023.jpg
Views:	115
Size:	1.24 MB
ID:	177703  

Last edited by DaltonST; 03-14-2020 at 10:24 AM.
DaltonST is offline   Reply With Quote
Old 03-14-2020, 08:26 PM   #13
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: 20,576
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by DaltonST View Post
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.
You might want to add a Languages option in Configure, its also Tag like.

@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
BetterRed is online now   Reply With Quote
Old 03-15-2020, 05:55 AM   #14
adrianf
Enthusiast
adrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it is
 
adrianf's Avatar
 
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.
adrianf is offline   Reply With Quote
Old 03-15-2020, 06:55 AM   #15
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: 20,576
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by adrianf View Post
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.
No worries

The JS configuration setting should be:

Click image for larger version

Name:	Annotation 2020-03-15 214015.jpg
Views:	128
Size:	226.7 KB
ID:	177722

Then, with the 'Empty Book" current, press (click/select return whatever) the "Mega Metadat...." option:

Click image for larger version

Name:	Annotation 2020-03-15 213739.jpg
Views:	129
Size:	346.7 KB
ID:	177724

Hey presto the book will have all the tags:

Click image for larger version

Name:	Annotation 2020-03-15 215231.jpg
Views:	129
Size:	180.9 KB
ID:	177725

BR
BetterRed is online now   Reply With Quote
Reply

Tags
save, save tags, tag


Forum Jump

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


All times are GMT -4. The time now is 05:35 PM.


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