View Full Version : Simple way to add meta data to hundreds of epubs without changing the coding?


Visuddhi
03-04-2011, 12:41 AM
I have a couple of hundred epub files which i need to imput metadata.
Can anyone suggest an easy way to do this, i would prefer to keep the coding the same, so i dontí want to use calibre to convert them, unless there is a way that i can add metadata with calibre without adding calibre coding. (Is this possible?)

Iíve created them with Sigil (on windows)
One possible way i can think of is opening the folder with ePubFixer combined with Tweek EPUB to edit the .opf by hand (copy and paste and a wee bit of typing)
Calibre would be great if it didnít change the coding.
Any suggestions? Or if this has been answered already could you point me in the right direction
Thanks

Toxaris
03-04-2011, 02:59 AM
AFAIK there is no automatic way. You could try scripting or program something yourself.

ldolse
03-04-2011, 09:00 AM
Calibre can do metadata only and not change the rest of the file. Just add all your books to Calibre, format the metadata as desired, and then use the 'save to disk' feature with all the epubs selected. Calibre will save them to the configured destination directory with all the metadata updated. All the html, toc, etc will remain unchanged.

Toxaris
03-04-2011, 09:46 AM
I believe the metadata is only updated in the content.opf on the disk, not in the file.

Jellby
03-04-2011, 11:14 AM
I believe the metadata is only updated in the content.opf on the disk, not in the file.

Yes, but the modified file is saved with "Save to disk".

You can also use Calibre's command-line tool ebook-meta.

Visuddhi
03-07-2011, 10:09 PM
Hi Guys
Thanks for your response

The 'save to disk' on calibre works

@Toxaris perhaps some day i will write some program, however its been many a year since my ungainly C monolingual programming skills have been used.