|
|
#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' |
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,617
Karma: 28549044
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.
|
|
|
|
|
|
#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`.
|
|
|
|
|
|
#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 |
|
|
|
|
|
#5 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,617
Karma: 28549044
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The calibre GUI will treat it as unknown, not ebook-meta
|
|
|
|
|
|
#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! |
|
|
|
|
|
#7 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,617
Karma: 28549044
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 11:29 AM |
| 'Published date' and 'originally published date' | Arrghus | Calibre | 2 | 07-29-2011 01:43 AM |
| Bulk Changing Published Date To Date | hmf | Calibre | 4 | 10-19-2010 11:19 PM |
| Can't change metadata with ebook-meta | mumdigau | Calibre | 14 | 08-05-2010 09:58 PM |
| set meta data with ebook-meta and ebook-convert | krischik | Calibre | 6 | 01-19-2010 12:40 PM |