View Single Post
Old 01-07-2014, 01:31 PM   #1
gelbmitschwarzen
Junior Member
gelbmitschwarzen began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2011
Device: none
Question metadata from filename - published date

hello,

I am trying to import a list of books and add some of the metadata information from the filename (via regular expression).

the syntax of the filenames is:
series index (format 000) - date published (format yyyy-MM) - author - title

for example:
001 - Original Oz Books - 1900-05 - Frank Baum - The Wonderful Wizard of Oz


my problem is the date published field (pubdate), it does not recognize the yyyy-MM date format in the filename, so it's not accepted as a valid date. the online documentation for reading metadata from filenames.


what expression do I have to use to get calibre to recognize the pubdate from the filename?
gelbmitschwarzen is offline   Reply With Quote