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

Go Back   MobileRead Forums > Non-English Discussions > Deutsches Forum > Software

Notices

Reply
 
Thread Tools Search this Thread
Old 02-05-2016, 06:00 AM   #1
Vauh
Zealot
Vauh began at the beginning.
 
Posts: 141
Karma: 10
Join Date: Dec 2007
Device: Pocketbook Touch Lux 3
Titel ändern - für ca. 200 Bücher auf einmal

Ich habe einige Bücher gekauft.
Etwa 200 haben als Anfang einen Titel PR *** - x und dann kommt ab dem x der Titelname. Für jedes Buch eine andere Zahl.
Löschen kann ich die erst, wenn ich sie in Calibre importiert habe, sonst stimmt die Titelsortierung nicht mehr.
Danach werden die Metadaten angepasst und ich muss Titel für Titel alles per Hand löschen.
Da ich mir noch ein paar Packen kaufen will, ist das ein etwas größeres Problem.

Gibt es eine Möglichkeit für alle den Titel so zu ändern, daß der
Anfang also PR *** - x, also bis zum x gelöscht wird und der Rest nach links verschoben wird?
Gibt es in Calibre Platzhalter beim Löschen?

Danke.

Vauh
Vauh is offline   Reply With Quote
Old 02-05-2016, 08:34 AM   #2
dickloraine
Guru
dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.
 
Posts: 631
Karma: 7544080
Join Date: Apr 2013
Location: Berlin
Device: PRS 350, Kobo Aura
Ja, gibt es. Wenn du mehrere Bücher markierst und dann auf den Metadaten ändern Knopf drückst, so gibt es da einen zweiten Tab, in dem du suchen und ersetzen kannst. Du kannst da auch regex nutzen, womit das kein Problem sein sollte. Keine Ahnung ob das genau stimmt, aber ungefähr so sollte der aussehen:
Im suchen feld:
PR [0-9]+ - (.*)
Und im ersetzen Feld dann einfach:
\1
dickloraine is offline   Reply With Quote
Advert
Old 02-05-2016, 11:10 AM   #3
Vauh
Zealot
Vauh began at the beginning.
 
Posts: 141
Karma: 10
Join Date: Dec 2007
Device: Pocketbook Touch Lux 3
Hm, klappt leider nicht so.
Ich habe folgendes gemacht und das löst das Problem in etwa, aber nicht sehr komfortabel.

Title
Suche PR

PR ist weg

Suche 1
alle 1 sind weg

Suche 2
alle 2 sind weg
etc.

Aber das ist nichtg so toll und beim Bindestrich verschwinden auch alle anderen Bindestriche im Titel.

Die, welche du genannt hast [0-9] etc bringt beim Test kein Ergebnis, leider.

Evtl. noch eine Idee?

Danke.

Vauh
Vauh is offline   Reply With Quote
Old 02-06-2016, 07:14 AM   #4
Divingduck
Wizard
Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.
 
Posts: 1,161
Karma: 1404241
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
Serien-Name Seriennummer - Titel

Suchfeld Titel: "Hans-Hansen-Zyklus 04 - Hans - Er kann's nicht alleine ohne Hilfe"
Suchfeld:
Code:
([^_0-9]*)\s*([0-9]*)\s*-\s*([^_].+)?
Ersetzen durch: \1
Zielfeld: series: "Hans-Hansen-Zyklus"

Ersetzen durch: \2
Zielfeld: series_index: "04"

Ersetzen durch: \3
Zielfeld: titel: "Hans -Er kann's nicht alleine ohne Hilfe?"

Erklärung:
Die erste Ersetzung erzeugt den Serienname. Die 2. Ersetzung füllt die Seriennummer. Die 3. Ersetzung bereinigt den Titel. Siehe angehängte Bilder.
Wenn du dir die erste Ersetzung mit Speichern sicherst, hast du diese bei Bedarf schnell aufgerufen und musst nicht lange experimentieren

Falls der Dateiname wie der Titel aufgebaut ist, würde ich dies direkt beim Import der Datei mittels Template erledigen. Danach musst du nur noch den Titel (wie z.B. mit der 3. Ersetzung) bereinigen. dies würde dann z.B. so aussehen:

Serie Serien-Nummer – Titel - Autor
Dateiname: "Hans-Hansen-Zyklus 04 - Hans - er kann's nicht alleine ohne Hilfe? - Hansel Mann.epub"
Code:
(?P<series>[^_0-9]*)\s(?P<series_index>[0-9]*)\s*-\s*(?P<title>[^_].+)?-(?P<author>[^_-]+)
Siehe Bild. Achtung, in dem Bild wurde das Häkchen Metadaten aus Dateiinhalt statt Dateinamen lesen gesetzt. Das musst du dann natürlich herausnehmen

Wichtig: Mache die Metadatenänderungen vielleicht erst mal mit einer kleinen Beispieldatenbank. Einmal geändert, gibt es ohne Sicherung kein zurück. Erst wenn die Ersetzungen so funktionieren wie du es erwartest solltest du diese auf deinen richtigen Datenbestand los lassen.
Attached Thumbnails
Click image for larger version

Name:	S&E_1.JPG
Views:	737
Size:	114.2 KB
ID:	146093   Click image for larger version

Name:	S&E_2.JPG
Views:	682
Size:	130.5 KB
ID:	146094   Click image for larger version

Name:	S&E_3.JPG
Views:	643
Size:	131.6 KB
ID:	146095   Click image for larger version

Name:	Filename&Metadata.JPG
Views:	708
Size:	179.9 KB
ID:	146096  

Last edited by Divingduck; 02-06-2016 at 08:31 AM.
Divingduck is offline   Reply With Quote
Old 02-06-2016, 08:51 AM   #5
dickloraine
Guru
dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.
 
Posts: 631
Karma: 7544080
Join Date: Apr 2013
Location: Berlin
Device: PRS 350, Kobo Aura
Hast du bei der Suche mit meinem Code "regulärer Ausdruck" als Suchmodus ausgewählt? Kann auch sein, dass .* hier nicht funktioniert.
dickloraine is offline   Reply With Quote
Advert
Old 03-21-2016, 12:47 PM   #6
Vauh
Zealot
Vauh began at the beginning.
 
Posts: 141
Karma: 10
Join Date: Dec 2007
Device: Pocketbook Touch Lux 3
War beruflich längere Zeit weg, werde es über Ostern mal ausprobieren.
Danke.

Vauh
Vauh is offline   Reply With Quote
Old 03-22-2016, 10:05 AM   #7
Vauh
Zealot
Vauh began at the beginning.
 
Posts: 141
Karma: 10
Join Date: Dec 2007
Device: Pocketbook Touch Lux 3
Danke euch beiden, hat wunderbar geklappt.

Vauh
Vauh is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre kann nicht mehr Metadaten auf einmal bearbeiten Jacques_N Erste Hilfe 3 08-09-2015 05:44 PM
PB 623 Touch Lux - Bücher ohne Titel Klecks PocketBook 30 11-11-2014 05:10 PM
Kindle Bücher auf PB360? helste PocketBook 4 11-13-2011 01:13 PM
Thread-Titel ändern ThR Erste Hilfe 6 04-29-2009 05:52 AM


All times are GMT -4. The time now is 11:40 AM.


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