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 11-09-2011, 04:58 PM   #1
smoothrolla
Member
smoothrolla began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Nov 2011
Device: kindle
how to move tags data into a new custom column

Hi guys

first post, great website, i salute you

I have a huge library and have downloaded all the tags from goodreads (so they populate as simple genres)

However, recently I have learnt to create a custom column #genre

i would now like to move the data in the tags field to the #genre one, automatically.. is this possible?

i would then download the tags from multiple sources to get true tags to make my library more descriptive and searchable

Any help appreciated!
smoothrolla is offline   Reply With Quote
Old 11-10-2011, 04:50 AM   #2
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: 11,734
Karma: 6690881
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Use bulk metadata search/replace. Assuming that your genre column has the type "comma-separated text, like tags...", use the following process.
  1. Make a backup of your library in case things go very wrong.
  2. Select all the books you wish to change
  3. Press 'E' to get bulk metadata edit
  4. Select the search/replace tab
  5. Search field: tags
  6. Search for: leave empty
  7. Replace with: leave empty
  8. Destination field: #genre
  9. Press Apply
  10. Click the "Basic metadata" tab
  11. Check the "Remove all" box next to "Remove tags"
  12. Press OK
All the tags will have be copied to #genre and deleted from tags.
chaley is offline   Reply With Quote
Advert
Old 11-10-2011, 05:48 AM   #3
smoothrolla
Member
smoothrolla began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Nov 2011
Device: kindle
Thanks Chaley, great instructions, much appreciated!!

Mush easier than i thought, and here i was learning templates and pyhon code to achieve it, doh!

Thanks!
smoothrolla is offline   Reply With Quote
Old 05-30-2018, 06:51 AM   #4
Mrs_Often
Wizard
Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.
 
Mrs_Often's Avatar
 
Posts: 1,775
Karma: 2694823
Join Date: Dec 2011
Location: The Netherlands
Device: Kobo Touch, Glo, Clara HD
I know this is a reeeeeally old thread, but moving tags is exactly what I am trying to do. I can follow the instructions 1-7, but the "Destination field" mentioned in step 8 is ehm... non-existent (or am I looking in the wrong place)? Of course we're a couple of Calibre versions further ahead by now, but is the above still possible with 3.24.2? And if not, is there a new way to move tags to the #genre column?
Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2018-05-30 at 12.51.07.png
Views:	276
Size:	124.6 KB
ID:	164193  
Mrs_Often is offline   Reply With Quote
Old 05-30-2018, 06:58 AM   #5
Mrs_Often
Wizard
Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.
 
Mrs_Often's Avatar
 
Posts: 1,775
Karma: 2694823
Join Date: Dec 2011
Location: The Netherlands
Device: Kobo Touch, Glo, Clara HD
Never mind, I found the field! It was hiding beneath the "Search mode" (should be set to "Regular expression")
Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2018-05-30 at 12.56.01.png
Views:	284
Size:	154.7 KB
ID:	164194  
Mrs_Often is offline   Reply With Quote
Advert
Old 05-30-2018, 07:05 AM   #6
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
You need to change the "Search mode" from "Character match" to "Regex". That will add the destination field.
davidfor is offline   Reply With Quote
Old 05-30-2018, 07:19 AM   #7
Mrs_Often
Wizard
Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.
 
Mrs_Often's Avatar
 
Posts: 1,775
Karma: 2694823
Join Date: Dec 2011
Location: The Netherlands
Device: Kobo Touch, Glo, Clara HD
Thanks David!

I added to changes (in bold) to the instructions for future reference:

Quote:
Originally Posted by chaley View Post
Use bulk metadata search/replace. Assuming that your genre column has the type "comma-separated text, like tags...", use the following process.
  1. Make a backup of your library in case things go very wrong.
  2. Select all the books you wish to change
  3. Press 'E' to get bulk metadata edit
  4. Select the search/replace tab
  5. Select "Regular Expression" from the "Search mode" menu
  6. Search field: tags
  7. Search for: type a space [ ]
  8. Replace with: leave empty
  9. Destination field: #genre
  10. Press Apply
  11. Click the "Basic metadata" tab
  12. Check the "Remove all" box next to "Remove tags"
  13. Press OK
All the tags will have be copied to #genre and deleted from tags.
Mrs_Often is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't get {size} data in a User Column? CCarrot Calibre 16 06-26-2012 11:39 AM
Sony PRS-T1 and plugboards "tags" from custom column salines Devices 8 10-31-2011 03:00 AM
Help with template for custom column from tags africalass Library Management 2 07-16-2011 11:47 AM
Can custom book data be displayed in a custom column? kiwidude Development 9 03-02-2011 05:35 AM
HTML column type in custom meta-data. mukoan Calibre 1 07-13-2010 08:59 AM


All times are GMT -4. The time now is 11:55 AM.


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