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

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 05-21-2010, 12:17 PM   #1
jazzcat007
Junior Member
jazzcat007 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: May 2010
Device: nook
Search and Replace or remove Metadata

Is it possible to do a Seach and Replace or Removal of a string for metadata?

e.g. Title: "The Day the Wind Broke [html]"
Find all "[html]" in title and remove
New Title: "The Day the Wind Broke"


Thanksx
jazzcat007 is offline   Reply With Quote
Old 05-21-2010, 12:19 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,435
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Not from within the GUI.
kovidgoyal is offline   Reply With Quote
 
Advertisement
Old 05-21-2010, 12:27 PM   #3
jazzcat007
Junior Member
jazzcat007 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: May 2010
Device: nook
calibredb? or would I need to use SQL?
jazzcat007 is offline   Reply With Quote
Old 05-21-2010, 12:30 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,435
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
either would work, depends on what you find easier.
kovidgoyal is offline   Reply With Quote
Old 05-21-2010, 12:33 PM   #5
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by jazzcat007 View Post
Is it possible to do a Seach and Replace or Removal of a string for metadata?
As Kovid's answer implies, this is possible with a lot of work, using seldom used Calibre tools and other non-Calibre components. I'm reasonably familiar with how this could be done, but still, I'd probably not bother. The simpler answer is to search for title:html and then fix them individually. Alternatively, export them without the opf file, reimport them (as duplicates), using a better regex that does not pick up the [html] portion of the filename in the title, then merge the old book record into the newer one to keep the metadata.

Last edited by Starson17; 05-21-2010 at 03:08 PM.
Starson17 is offline   Reply With Quote
Old 05-21-2010, 12:35 PM   #6
jazzcat007
Junior Member
jazzcat007 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: May 2010
Device: nook
OK...Thanks for the quick responses.
jazzcat007 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
Wild Card search and replace crutledge Sigil 2 06-05-2010 05:19 PM
Remove Chapter Breaks and Search an Entire Document Marcy Sigil 6 04-15-2010 01:11 PM
Search & replace TEXT ToeRag Calibre 3 04-10-2010 02:44 PM
Search and replace in 0.2.0 paulpeer Sigil 7 03-13-2010 12:59 PM
Why no search and replace? charleski Sigil 10 11-24-2009 05:13 PM


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


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