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 03-19-2015, 11:36 AM   #1
chaot
Head of lunatic asylum
chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.
 
chaot's Avatar
 
Posts: 349
Karma: 77620
Join Date: Jun 2012
Location: UTC +1
Device: Tolino Vision 3HD
Adding terms to titles using Edit metadata in bulk



All books is to annex with Edit metadata in bulk a (GE)(stands for German Edition) like in Die Augen der Mrs. Blynn (GE).

Click image for larger version

Name:	Highsmith.png
Views:	547
Size:	50.3 KB
ID:	136173

I guess that is to achieve with regexes. I was busy for some time with them but don't get ahead.

Got several types of these makeovers.
HowToDo?

Last edited by chaot; 03-31-2015 at 02:03 PM. Reason: delete but I am not sure / trifles
chaot is offline   Reply With Quote
Old 03-19-2015, 01:03 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,972
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 chaot View Post


All books is to annex with Edit metadata in bulk a (GE)(stands for German Edition) like in Die Augen der Mrs. Blynn (GE).

Attachment 136173

I guess that is to achieve with regexes but I am not sure. Got several types of these makeovers.
I was busy for some time with regexes, but don't get ahead.

HowToDo?
Search mode: Regex
search: (.+)
Replace: \1 (ge)
Set Mode to Append to Field

Last edited by theducks; 03-19-2015 at 01:05 PM. Reason: shoulda test
theducks is online now   Reply With Quote
Advert
Old 03-19-2015, 01:51 PM   #3
chaot
Head of lunatic asylum
chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.
 
chaot's Avatar
 
Posts: 349
Karma: 77620
Join Date: Jun 2012
Location: UTC +1
Device: Tolino Vision 3HD
The book Die zwei Gesichter des Januars show different results in the column Test result depanding of it is in line Your test or Book 1.

Click image for larger version

Name:	Edit meta information.png
Views:	313
Size:	64.9 KB
ID:	136175

It's my first time with regexes in action so allow me to consult you again.
I see that the test result is okay! The rest also?

Search field: title - otherwise nothing happens.

Last edited by chaot; 03-19-2015 at 01:57 PM. Reason: text rearrangement
chaot is offline   Reply With Quote
Old 03-19-2015, 01:55 PM   #4
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,616
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
No, it's not OK. Don't use "Append to field" but "Replace field" in the Mode selection.
Terisa de morgan is offline   Reply With Quote
Old 03-19-2015, 02:02 PM   #5
chaot
Head of lunatic asylum
chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.
 
chaot's Avatar
 
Posts: 349
Karma: 77620
Join Date: Jun 2012
Location: UTC +1
Device: Tolino Vision 3HD
Yes! Now looks better.

Click image for larger version

Name:	Edit meta information.png
Views:	489
Size:	59.9 KB
ID:	136176

The processing was okay. I thank you both!

Ah, one more question: Did I put in the Your test line something wrong? Was to insert something different than Die zwei Gesichter des Januars.
It irritates me that in both runs the Test result was OK.

Last edited by chaot; 03-19-2015 at 02:21 PM. Reason: add one more question
chaot is offline   Reply With Quote
Advert
Old 03-19-2015, 04:20 PM   #6
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,972
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 chaot View Post
Yes! Now looks better.

Attachment 136176

The processing was okay. I thank you both!

Ah, one more question: Did I put in the Your test line something wrong? Was to insert something different than Die zwei Gesichter des Januars.
It irritates me that in both runs the Test result was OK.
IMHO the test line is optional

It is useful for testing for unwanted side effects ( that might appear on longer inputs)

Acurate Test results is what you want. No unintended side effects showing

@Terise
I thought the OP wanted just to add a suffix

To be Honest ,
Why setting the Language to De is not the proper way for the German version?
(US English only reader <Some of the UK versions terms lose me>)
theducks is online now   Reply With Quote
Old 03-19-2015, 04:39 PM   #7
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,616
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Quote:
Originally Posted by theducks View Post

@Terise
I thought the OP wanted just to add a suffix
If he only wanted to add a suffix, with Append Mode he would need (.+) => (GE) (Without \1). In the other way, he gets two titles (as it's shown in the picture).

Quote:
Originally Posted by theducks View Post
To be Honest ,
Why setting the Language to De is not the proper way for the German version?
(US English only reader <Some of the UK versions terms lose me>)
I don't know (I set language too, and if I would like to see at a glance I would use column coloring or if I want to see int in the reader I would add the suffix in the plugboard, but everybody has his/her way).
Terisa de morgan is offline   Reply With Quote
Old 03-19-2015, 04:42 PM   #8
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,616
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Quote:
Originally Posted by chaot View Post
Yes! Now looks better.

Attachment 136176

The processing was okay. I thank you both!

Ah, one more question: Did I put in the Your test line something wrong? Was to insert something different than Die zwei Gesichter des Januars.
It irritates me that in both runs the Test result was OK.
Test result shows which is the replacement result for the first book, but no the final result in the field. Both searches are OK, as you don't change it, but the final result is different because you're changing the way that result goes to the field.

And sorry if it irritates you that it says OK if the search/replacement expression is right, when it is.
Terisa de morgan is offline   Reply With Quote
Old 03-19-2015, 04:50 PM   #9
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,972
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 Terisa de morgan View Post
If he only wanted to add a suffix, with Append Mode he would need (.+) => (GE) (Without \1). In the other way, he gets two titles (as it's shown in the picture).
theducks is online now   Reply With Quote
Old 03-20-2015, 02:46 PM   #10
chaot
Head of lunatic asylum
chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.
 
chaot's Avatar
 
Posts: 349
Karma: 77620
Join Date: Jun 2012
Location: UTC +1
Device: Tolino Vision 3HD
The text of this post has been removed by me. Reason: It was unnecessary and rude.

Last edited by chaot; 03-21-2015 at 07:02 AM. Reason: cognition
chaot is offline   Reply With Quote
Old 03-20-2015, 02:49 PM   #11
chaot
Head of lunatic asylum
chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.
 
chaot's Avatar
 
Posts: 349
Karma: 77620
Join Date: Jun 2012
Location: UTC +1
Device: Tolino Vision 3HD
It is my considered opinion that pictures reveal often more than words, however, always they may serve to illustrate.

Quote:
Originally Posted by theducks View Post
IMHO the test line is optional

It is useful for testing for unwanted side effects ( that might appear on longer inputs)
Optionality / longer inputs or not: The Test result in line Your test should show a correct result even it is the unwanted one.

(New example pics (Homer) for demonstration reasons.)
Click image for larger version

Name:	1 (GE) & Append to field.png
Views:	313
Size:	45.5 KB
ID:	136204
(.+) + \1 (GE) + Append to field

Quote:
Acurate Test results is what you want. No unintended side effects showing
I don't know what are unintended side effects. If the final (processed) result is wrong any u.s.effects are unimportant.

Click image for larger version

Name:	Ilias,Ilias (GE).png
Views:	266
Size:	8.2 KB
ID:	136205

Quote:
I thought the OP wanted just to add a suffix
Right, I wanted to add something, let's call it suffix (or adjunct). By name: (GE)

Quote:
To be Honest ,
Why setting the Language to De is not the proper way for the German version?
(US English only reader <Some of the UK versions terms lose me>)

In my library there are books of different original languages but mostly translated to German. To see at first glance that a book with a German title isn't a originally in German written book I add (GE).

Let me present the advantages.
Click image for larger version

Name:	Ilias in 2 languages.png
Views:	247
Size:	8.8 KB
ID:	136206
Ilias in 2 languages
It shows at a glance the Ilias in original language (without adjunct) and a translated version: Ilias (GE)

My calibre interface is German in order to understand you better in the forum if there is made reference to calibre interfaces.

Quote:
Originally Posted by Terisa de morgan View Post
If he only wanted to add a suffix, with Append Mode he would need (.+) => (GE) (Without \1). In the other way, he gets two titles (as it's shown in the picture).
Partly you are right. But see

Click image for larger version

Name:	(.+) & (GE) & Append to field.png
Views:	285
Size:	43.9 KB
ID:	136207
(.+) + (GE) + Append to field

There are (unwanted) commas in the Books -> Test results. Take also attention to the Your test result, a single (GE).

Quote:
I don't know (I set language too, and if I would like to see at a glance I would use column coloring or if I want to see int in the reader I would add the suffix in the plugboard, but everybody has his/her way).
I admit to have considered the matter only under the premise of an adjunct. Column coloring or add the suffix in the plugboard you could represent a broad to show advantages. What's with this 'plugboard' idea right now I do not understand.

Quote:
Originally Posted by Terisa de morgan View Post
Test result shows which is the replacement result for the first book, but no the final result in the field. Both searches are OK, as you don't change it, but the final result is different because you're changing the way that result goes to the field.

And sorry if it irritates you that it says OK if the search/replacement expression is right, when it is.
I see and be amazed. Either you make your CUT Wizard all respect or I see for nothing but results (let it be in tests, replacements, finals, searches or whereever) nothing anymore.

Fact is that only (. +) + \ 1 (GE) + Replace field results correctly so far.
In itself this would be enough. But it seems me that you yourselves still disagree about the different options. If such exist at all.
I look foreward to supply you with any Homer example images only the combinations for the Edit meta information window must be provided.

Last edited by chaot; 04-13-2015 at 06:46 AM. Reason: add :closed: / edit: It is my considered opinion that pictures reveal often more than words, however, always they may serve to illustrate. / trifles
chaot is offline   Reply With Quote
Old 03-20-2015, 03:00 PM   #12
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,616
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
@chaot, if you look at you picture, you'll see that you have a check near the "Append result", "Split result". If you uncheck it, the comma go away. If you play a bit with the fields you will be able to obtain your desired result.
Terisa de morgan is offline   Reply With Quote
Old 03-20-2015, 03:21 PM   #13
chaot
Head of lunatic asylum
chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.
 
chaot's Avatar
 
Posts: 349
Karma: 77620
Join Date: Jun 2012
Location: UTC +1
Device: Tolino Vision 3HD
Really fast. And correct!

In the Replace with field is to insert an space before (GE).

Even I can only reflect on your posts or play a bit with the fields - both is impossible

Click image for larger version

Name:	(.+) +  (GE) + Append to field + Split result uncrossed.png
Views:	317
Size:	43.7 KB
ID:	136208
(.+) + (GE) + Append to field + Split result uncrossed
The processing was OK.

Now we got 2 versions to result same!

(.+)|(GE)|Replace field|Split result crossed

(.+)| (GE)|Append to field|Split result uncrossed

Still the Your test line is a mystery to me.

Last edited by chaot; 03-23-2015 at 05:37 AM. Reason: add The processing was okay / add 2 versions / unpossibly→impossible / /→|
chaot is offline   Reply With Quote
Old 03-31-2015, 02:51 PM   #14
chaot
Head of lunatic asylum
chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.
 
chaot's Avatar
 
Posts: 349
Karma: 77620
Join Date: Jun 2012
Location: UTC +1
Device: Tolino Vision 3HD
A thread should always answer the main question. This was here excellent the case - it was shown even 2 solutions.

Nevertheless, the whole is not satisfactory. More questions are opened unanswered, some were not even questioned. Especially to the Search and replace window.
For purposes of self-study I looked to various manual pages: Is there something better than that?

The image is approximately anno 1850. And since the counselee should find the way!?

It allows conclusions to the topicality of the manual and thus to the quality at all.

When new optics / futures placed in calibre the manual can not be aligned simultaneously!? That is in relation to the former work a minimum of overhead.

Last edited by chaot; 04-01-2015 at 04:53 AM. Reason: different→various
chaot is offline   Reply With Quote
Old 03-31-2015, 06:26 PM   #15
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
That link discusses Search and Replace in the Edit E-Book feature.

Very different from Metadata Edit.

You want: http://manual.calibre-ebook.com/meta...ch-and-replace
eschwartz is offline   Reply With Quote
Reply

Tags
edit metadata in bulk, regex, search and replace


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bulk Edit - Justify Metadata Comments lazorbeam Library Management 8 01-25-2015 05:48 PM
Edit metadata in bulk vs search and replace inl1ner Library Management 6 07-14-2014 06:58 PM
Bulk metadata edit dialog: Use of regular expressions - how to? DeepSeaDiver Library Management 8 07-14-2014 08:27 AM
Metadata Edit: Bulk vs Individual RichieTheK Calibre 1 06-19-2013 11:07 PM
Tips on Bulk Edit Metadata deschiff Calibre 5 10-15-2010 10:54 AM


All times are GMT -4. The time now is 05:48 PM.


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