View Single Post
Old 11-09-2012, 09:03 PM   #1
Pixelastic
Junior Member
Pixelastic began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Nov 2012
Device: FBReader on Android
How can I remove Published Date from metadata using ebook-meta

Hi,

I'm trying to remove the metadata "Published Date" from the metadata of an epub file using `ebook-meta`.

I can change the value just fine, but do not find the way to completly remove it. If I pass a value of 0 or -1 it just convert it to a date, and any non-numeric string throws an error.

Here is what I tried so far :

Code:
ebook-meta input.epub --date='0'
ebook-meta input.epub --date='-1'
ebook-meta input.epub --date='-'
ebook-meta input.epub -d '0'
What is the correct way to remove this data ? With any string-based metadata I simply pass an empty string when I want to clear it, but an empty string as a different effect on a date.
Pixelastic is offline   Reply With Quote