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 07-04-2017, 08:29 PM   #1
Modelmat
Junior Member
Modelmat began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2017
Device: Kobo Aura 1st Edition
Post Removing Series In Title [Batch]

So, I have a Calibre library with book titles like this:

Series: Index) BookName

as well as:

Series: Index: BookName

and some (very few):

BookName

I cannot find a way to completely remove the series and index so that the book name is easily readable on my Kobo. (I have recently discovered a plugin that allows me to send the series over as well, so this removes the need for the series in title)

I found the metadata plugboards, however, I cannot get this to work, mainly because I cannot figure out how to interpret the different tag after Index, and thus have not figured out a code to do either.

me please.
Modelmat is offline   Reply With Quote
Old 07-04-2017, 09:55 PM   #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: 30,452
Karma: 58055868
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 Modelmat View Post
So, I have a Calibre library with book titles like this:

Series: Index) BookName

as well as:

Series: Index: BookName

and some (very few):

BookName

I cannot find a way to completely remove the series and index so that the book name is easily readable on my Kobo. (I have recently discovered a plugin that allows me to send the series over as well, so this removes the need for the series in title)

I found the metadata plugboards, however, I cannot get this to work, mainly because I cannot figure out how to interpret the different tag after Index, and thus have not figured out a code to do either.

me please.
Just to be clear.
Your Calibre Library TITLE column has series info

You can use BULK mode Metadata edit to (re)move data in mass (selected records)
ALWAYS Backup you Library (folder) before starting. THERE IS NO UNDO.

I suggest making a test library and practicing.
You work on one (source) field at a time and optionally, select a different destination field.
There is a TEST section, keep at the pattern until you see EXACT results.

Now to the Template Language (there is a section in Help)

{ } is a calibre fields contents
Stuff outside is a Literal (unless it is a Program code)
{title} - {series} the <space>-<space> the literal between the title and series.
This template is used in the Plugboard, send to device or Folder and even some places in Bulk metadata edit
theducks is offline   Reply With Quote
Old 12-03-2021, 10:34 PM   #3
Modelmat
Junior Member
Modelmat began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2017
Device: Kobo Aura 1st Edition
Finally got round to this - (lol)

I did a bulk metadata edit with regular expression of `.*: (\d|\d.\d)\)` and then just replaced it with nothing.

That seems to work fine, aside from a couple which had special characters in the series name.
Modelmat is offline   Reply With Quote
Old 12-03-2021, 10:35 PM   #4
Modelmat
Junior Member
Modelmat began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2017
Device: Kobo Aura 1st Edition
Finally managed to get around to doing this - lol.

I just did a bulk metadata search and used the regular expression

Code:
.*: (\d|\d\.\d)\)
and replaced with nothing.

This worked fine except for where there were special characters (' etc)

Not quite sure how the templates were supposed to work in the search.
Modelmat is offline   Reply With Quote
Old 12-04-2021, 04:43 AM   #5
un_pogaz
Chalut o/
un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.
 
un_pogaz's Avatar
 
Posts: 421
Karma: 145424
Join Date: Dec 2017
Device: Kobo
To make your life easier in the future, I recommend Mass Search/Replace plugin, which will allow you to launch in 1 click this cleaning.
un_pogaz is offline   Reply With Quote
Reply

Tags
batch, renaming


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wordcount -- how to append to title (batch)??? jcrawfordx Library Management 5 08-07-2016 05:03 PM
Removing series info from title auto pinky62 Library Management 3 07-02-2016 10:35 AM
Title bulk edit match - to remove series info from title Rob557 Library Management 30 12-09-2014 07:06 AM
Plugboard "Metadata: Show series [series index] - title as title (Kindle)" Deep Cover Library Management 6 11-30-2012 06:17 PM
command line batch to change title etc. boell Library Management 6 10-14-2012 07:42 PM


All times are GMT -4. The time now is 03:14 PM.


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