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-25-2017, 04:01 AM   #1
Lzyslckr
Junior Member
Lzyslckr began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Feb 2012
Device: Calibre
Copy custom tag to author tag

Is there someway to copy a custom tag to the author tag. I have a bunch of comics that only had the artist tags but no author tags because they're the same. I saw that maybe Search and Replace could help but I don't know how to get the replacement to equal the tag instead of text.
Lzyslckr is offline   Reply With Quote
Old 11-25-2017, 11:20 AM   #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,054
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Are you using the word 'Tag' to mean 'field' (a place to put data on a form)?

The MDE S&R allows destination to be specified.
(I use REGEX mode because it allows Captures of portions of the search term)

Samples of the data you are Starting with and a sample of what you want to end up with, would help clarity
theducks is offline   Reply With Quote
Advert
Old 11-25-2017, 02:30 PM   #3
Lzyslckr
Junior Member
Lzyslckr began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Feb 2012
Device: Calibre
I think I got it. I was having the search field look in the author field and search mode in match. I could have put the search on artist and search mode be expression and it writes to the author field.

So it looks like
search field: #artist
search mode: regular expression
search for: unknown
replace with : #artist
destination field: #authors

Lzyslckr is offline   Reply With Quote
Old 11-25-2017, 02:48 PM   #4
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,054
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 Lzyslckr View Post
I think I got it. I was having the search field look in the author field and search mode in match. I could have put the search on artist and search mode be expression and it writes to the author field.

So it looks like
search field: #artist
search mode: regular expression
search for: (.+)
replace with : &\1 (append mode selected )
destination field: #authors <is this a custom field that has a similar name? otherwise, lose the #

Marked up your original, but not tested
theducks is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wondering if there is a way to remove end tag with beginning tag LadyKate Editor 5 06-29-2016 04:32 PM
suggestion: tag groups should use Calibre tag hierarchy comox Calibre Companion 53 05-25-2015 07:22 PM
copy series name to tag ? cybmole Calibre 5 04-24-2014 04:18 AM
Assigning shortcut to custom tag? khahoon Library Management 3 05-20-2013 06:11 PM
Y/N custom column in Tag Browser? matthewdeans Calibre 15 08-12-2011 02:01 PM


All times are GMT -4. The time now is 12:08 PM.


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