11-09-2012, 09:03 PM | #1 |
Junior Member
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' |
11-09-2012, 09:08 PM | #2 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You cannot. Set the date to 1-1-101 and calibre will treat it as unknown.
|
Advert | |
|
11-10-2012, 12:46 AM | #3 |
Junior Member
Posts: 6
Karma: 10
Join Date: Nov 2012
Device: FBReader on Android
|
Thanks. Might be worth adding it to the `ebook-meta --help`.
|
11-10-2012, 12:52 AM | #4 |
Junior Member
Posts: 6
Karma: 10
Join Date: Nov 2012
Device: FBReader on Android
|
Oh, actually I posted without trying it first, and it does not seem to work.
Code:
$ ebook-meta input.epub --date=1-1-101 Original metadata:: Title : Le Bûcher d'un Roi Title sort : Le Trône de Fer 13 - Le Bûcher d'un Roi Author(s) : Georges R.R. MARTIN [MARTIN, Georges R.R.] Series : Le Trône de Fer #13 Languages : fra Published : 0100-12-31T12:00:00+00:00 Changed metadata:: Title : Le Bûcher d'un Roi Title sort : Le Trône de Fer 13 - Le Bûcher d'un Roi Author(s) : Georges R.R. MARTIN [MARTIN, Georges R.R.] Series : Le Trône de Fer #13 Languages : fra Published : 0100-12-31T12:00:00+00:00 |
11-10-2012, 12:53 AM | #5 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The calibre GUI will treat it as unknown, not ebook-meta
|
Advert | |
|
11-10-2012, 04:47 AM | #6 |
Junior Member
Posts: 6
Karma: 10
Join Date: Nov 2012
Device: FBReader on Android
|
Ok thanks, this will do for now. Any plan for adding the ability to remove metadata (opposed to changing it) in the future ?
Also, I'd like to mention that I appreciate the quick answers from the creator of the tools himself! |
11-10-2012, 05:11 AM | #7 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No plans.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Remove Month In Published Column (Edit Meta Info) | JayLaFunk | Library Management | 12 | 09-24-2011 10:29 AM |
'Published date' and 'originally published date' | Arrghus | Calibre | 2 | 07-29-2011 12:43 AM |
Bulk Changing Published Date To Date | hmf | Calibre | 4 | 10-19-2010 10:19 PM |
Can't change metadata with ebook-meta | mumdigau | Calibre | 14 | 08-05-2010 08:58 PM |
set meta data with ebook-meta and ebook-convert | krischik | Calibre | 6 | 01-19-2010 11:40 AM |