08-03-2010, 07:34 PM | #1 |
Junior Member
Posts: 7
Karma: 10
Join Date: Aug 2010
Device: none
|
Changing input fields
I am a new user of Calibre so if this problem has been solved elsewhere please point me in the write direction.
My ebook data is structured as follows: Root folder Author folder author - ebook title As you can see this results in the author inputted as title and the title as the author. Is there a way to get the program to read the files names in reverse order |
08-04-2010, 12:02 AM | #2 |
Handy Elephant
Posts: 1,736
Karma: 26785668
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Thinkpad E595, Ubuntu Mate, Huawei Mediapad 5, Bouye Likebook Plus
|
Yes. You go to Preferences | Add/Save | Adding books.
Activate "Read metadata only from file name" and change the "Regular expression" that specifies exactly how to interpret the different parts of the filename. Try this: (?P<author>[^_]+) - (?P<title>.+) If you test this, make sure to enter the whole filename as test string, including the file extension. (.lit/.epub etc) You can also read the filenames as they are, and later swap author/title when you edit metadata for a book. There is a button for that purpose. Last edited by Adoby; 08-04-2010 at 12:36 AM. |
Advert | |
|
08-06-2010, 04:46 PM | #3 |
Junior Member
Posts: 7
Karma: 10
Join Date: Aug 2010
Device: none
|
Thank you for the reply. This is just what I was looking for.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Seriously thoughtful In Flanders Fields | kindlekitten | Lounge | 5 | 05-31-2010 05:56 PM |
Searching for.... in fields help needed | mezme | Calibre | 8 | 02-07-2010 10:32 AM |
Locking metadata fields? | ebirkenes | Calibre | 1 | 10-08-2009 05:56 PM |
In Flanders Fields | krisk | Lounge | 6 | 05-22-2009 04:20 PM |
Description Fields | derrell | Fictionwise eBookwise | 2 | 10-28-2008 09:58 AM |