Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 05-01-2012, 10:10 AM   #1
metalhammer
Junior Member
metalhammer began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Apr 2012
Device: Sony Reader
Command Line Search and Replace Metadata

Hi,

I have some scripts setup which automatically dowload ebooks and add them to the calibre database. At the moment I have some saved Search and Replaces which I use to cleanup the metadata from these downloaded books.

I would like to perform these saved Search and Replaces in an automated way, preferably using a command line tool. Is there an easy way to do this? And if there is no easy way, what would be the hard way?

I've found in the documentation that you can set the metadata of a book to the metadata in an opf file. I guess that using this will be the hard way, I hope that somebody can help me with an easier way.
metalhammer is offline   Reply With Quote
Old 05-02-2012, 05:13 AM   #2
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,636
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
@metalhammer - welcome to MobileRead.

It is not currently possible to set specific metadata elements via the command line. See this thread:
https://www.mobileread.com/forums/sho...d.php?t=162712
kiwidude is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
calibredb command line question (setting metadata) mezme Calibre 0 12-06-2011 12:17 AM
Metadata Search & Replace - when it doesn't match Aldebaranian Library Management 4 09-28-2011 11:35 AM
Metadata Search and Replace- Delete everything in square brackets? dkelly701 Library Management 5 02-20-2011 11:50 AM
Search and Replace or remove Metadata jazzcat007 Calibre 5 05-21-2010 11:35 AM
Problem updating metadata (using mobi2mobi command line and gui) whitearrow Kindle Formats 3 12-05-2009 07:07 PM


All times are GMT -4. The time now is 08:38 PM.


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