|
|
#1 |
|
Junior Member
![]() 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 |
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,617
Karma: 28549044
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Not from within the GUI.
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Junior Member
![]() Posts: 3
Karma: 10
Join Date: May 2010
Device: nook
|
calibredb? or would I need to use SQL?
|
|
|
|
|
|
#4 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,617
Karma: 28549044
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
either would work, depends on what you find easier.
|
|
|
|
|
|
#5 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
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. |
|
|
|
| Advert | |
|
|
|
|
#6 |
|
Junior Member
![]() Posts: 3
Karma: 10
Join Date: May 2010
Device: nook
|
OK...Thanks for the quick responses.
|
|
|
|
![]() |
|
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 |