View Single Post
Old 08-30-2011, 04:04 AM   #1
clonetom
Junior Member
clonetom began at the beginning.
 
clonetom's Avatar
 
Posts: 3
Karma: 10
Join Date: May 2011
Device: HP TM2
Import expression request

Hi all,

I have a large (really large ) set of ebooks that I would like to import into Calibre but the import expressions are giving me a real headache.

The naming system of my file names is random with one exception:

1. at the end of the file name (before the file extension, i.e. .pdf, .epub) is always the 10/13 digit ISBN number
2. and before the ISBN there is always a <space>

Now if someone could help me with an expression so that I can import...

a. everything before <space> ISBN into the <title> (only need this for quick referencing - will be overwritten if metadata is found)
b. and the ISBN number into <isbn>... (as basis for the metadata search)

I would be very grateful


Note: a typical file name would look like this:

Contemporary Eastern Philosophy John Doe 1 9781232343456.pdf
Leadership Ethics John Doe Jane Smith 1 1232343456.djvu
Encyclopedia of Social Theory 2Ed Vol1 John Doe John Smith 1 1232343456.chm

Thanks in advance
Tom
clonetom is offline   Reply With Quote