![]() |
#1 |
Serpent Rider
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,123
Karma: 10219804
Join Date: Jun 2009
Device: Sony 350; Nook STR; Oasis
|
Tags separated by semi-colons
I was using Leafmarks as my online booksite and when it shut down the other month, I was able to download my data as a CSV file. Imported all the book data with the List plugin into calibre.
My problem is that all my tags from Leafmarks are separated by semicolons instead of comma's, so I have just one long tag for each book, ie: 2016;sff;favorite;ultra-violence when I want multiple tags like this: 2016, sff, favorite, ultra-violence Is there an easy way to solve this? I've got about 2700 book entries to edit and it would be nice if there was a bulk way to separate them. Thanks for any help or info. Using Win10 with calibre 2.58. |
![]() |
![]() |
![]() |
#2 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,891
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:
![]() Might take multiple passes (it walks to next semicolon) S: (.+?)\;(.+?) R: \1, \2 same field |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,327
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
@theducks: you can replace semicolon with comma in one go. As long as the "split result" checkbox stays checked SR will regenerate the tags after replacing all the semicolons.
S: ; R: , |
![]() |
![]() |
![]() |
#4 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,891
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:
![]() I had previously split a colon separated Author list in the details to my custom author-like folder ( : > & ) with wonderful ease |
|
![]() |
![]() |
![]() |
#5 |
Serpent Rider
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,123
Karma: 10219804
Join Date: Jun 2009
Device: Sony 350; Nook STR; Oasis
|
Thanks folks.
One thing, I can't seem to see the "split results" check box? |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,891
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
![]() |
![]() |
![]() |
#7 |
Serpent Rider
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,123
Karma: 10219804
Join Date: Jun 2009
Device: Sony 350; Nook STR; Oasis
|
Maybe I'm looking in the wrong place?
I highlight the books I want to edit the tags. I left/right/whatever click and select "edit metadata in bulk" I then go over to the Search and Replace tab. I select "tags" in the search field box I enter ; in the Search For box I enter , in the replace with box I don't see a destination box or the split results anywhere. |
![]() |
![]() |
![]() |
#8 |
Serpent Rider
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,123
Karma: 10219804
Join Date: Jun 2009
Device: Sony 350; Nook STR; Oasis
|
Ok, I think I figured it out.
Next to the Search Field is a Search Mode. I had it toggled to "character match". When I toggled it to "regular expressions", Destination field and the split option showed up. |
![]() |
![]() |
![]() |
#9 |
Serpent Rider
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,123
Karma: 10219804
Join Date: Jun 2009
Device: Sony 350; Nook STR; Oasis
|
And it worked.
Thank you both so much for your replies and help. |
![]() |
![]() |
![]() |
#10 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Has everyone forgotten the Tag Mapper? You can use that to have a rule to split any tag containing a semi-colon. It will run across all the tags when you save the rules.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
ePUB to AZW3 - <Hn> tags are getting separated | Agama | Conversion | 6 | 10-20-2013 09:40 AM |
Colons in anchor tags? | myusername | Conversion | 1 | 09-07-2013 10:45 PM |
Words get separated | brianj6 | Conversion | 1 | 10-16-2011 10:08 PM |
Switching author name from comma separated to first last | kbaggs | Library Management | 1 | 01-30-2011 03:36 PM |
Why does the ebook cover got separated? | black cat | Ectaco jetBook | 0 | 04-14-2010 12:36 PM |