Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 06-23-2021, 08:38 PM   #1
markminnich
Junior Member
markminnich began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jun 2021
Location: Columbus, OH
Device: iPad
Question Mass metadata edit



Hello,

I am trying to go through a selection of book entries and weed out an issue with the id field.

I add some books to my library and some have an I’d of,
Mobi-asin:numbers
I want to change I’d values to,
Asin:numbers

Basically remove the mobi- portion. I have tried using Calibre normal expression or REGEX mode but can’t get either to work. I am inexperienced with REGEX. I know I am doing something wrong but would appreciate any help.

Initially I submitted the question to refitted /rcalibre they suggested some things, none of which worked.

Thanks bunches!
markminnich is offline   Reply With Quote
Old 06-26-2021, 06:51 AM   #2
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: 410
Karma: 145324
Join Date: Dec 2017
Device: Kobo
With a little trickery all can be done in one operation Search/Replace

Search field: {template}
Template: {identifiers}
Search for: (.*)(?:mobi-asin|amazon(?:_\w+)?):(B\w+)(.*)
Replace with: \1asin:\2\3
Target field: identifiers
Target identifier: *

Also I advise you the Mass Search/Replace plugin which will allow you to save and to redo quickly and easily this operation.
un_pogaz is offline   Reply With Quote
Reply

Tags
edit, how to, metadata

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Edit Title Field in Edit Metadata window goldilocks Library Management 7 11-08-2015 10:09 PM
Edit books: Mass warnings. Bulk correction? chaot Editor 6 10-22-2015 07:54 AM
Mass metadata enhancement DirkDirkson Calibre 10 05-28-2015 08:29 AM
Mass editing of metadata fails under Linux Nightfairy Library Management 8 12-10-2014 03:13 PM


All times are GMT -4. The time now is 07:06 AM.


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