Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-09-2015, 08:02 PM   #1
Silktrader
Junior Member
Silktrader began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2014
Device: PRS-505, Kobo Aura H2O
File Creation and Metadata

Hello.

Is there a plugin, or a well hidden option, that allows Calibre to store ePubs file creation dates in the metadata — or a way to preserve the original file's creation date in the "save to disc" copy.

I read an old thread which seems to indicate this is the default behaviour, but that's not the case with my installation (x64, Windows).

I have a large collection of books whose metadata I wish to edit, but a) Calibre saves its own copy in the file system (new creation date) and requires one to successively "save to disc" and b) the metadata "date" field seems to record the date at which the book was added to the library.

The result is that I inevitably end up with a myriad books which appear to be added on the same day.
Silktrader is offline   Reply With Quote
Old 01-09-2015, 08:15 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You can change the value in the date field to be whatever you like. Use the extensive command line interface (calibredb) to script the adding of the books with the appropriate date.
kovidgoyal is offline   Reply With Quote
Advert
Old 01-10-2015, 06:05 AM   #3
Silktrader
Junior Member
Silktrader began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2014
Device: PRS-505, Kobo Aura H2O
Thanks for the prompt answer and the handy software.

I will try to cook up a batch file to sequentially pass the files creation date to "calibreddb add". Unfortunately the "date" field can't be set during the "add" process, so it looks like I may have to resort to a successive "calibre set_metadata" and derive the books id from the previous operation's output.

Then I will have to rely on "calibredb export" to create new files. I would need to write down their "date" field in the file name so that I could use a second script to alter the file system's creation date from their name.

Let me know whether you can think of a more convenient, lazier, alternative!
Cheers and thanks again.
Silktrader is offline   Reply With Quote
Old 01-10-2015, 06:20 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
If you are only using calibre to write metadata, you can just use the ebook-meta command line tool to do the same thing.
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Metadata only for few file? scorpion2782 Calibre 11 05-05-2013 11:20 AM
Do I need this metadata file? CyberPotato Library Management 7 02-06-2013 12:22 AM
MOBI file creation and Cover Thumbnails in Kindle for PC Sarlic Calibre 1 11-17-2012 10:55 PM
Metadata from File Name Logan06 Calibre 0 01-08-2011 10:53 PM
ebook creation: should the master document be one file or many? hapax legomenon Workshop 4 10-26-2007 03:24 PM


All times are GMT -4. The time now is 09:06 PM.


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