![]() |
#1 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 252
Karma: 1232346
Join Date: Jul 2006
Location: Macau
Device: Kindle Oasis (plus lots of older devices)
|
Filename format for input control
I've spent the past 45 minutes searching for this so either it has not been asked or else (more likely) I am using the wrong words to describe what I am trying to do.
What is the preferred format for the filename in order, when inputting the book into Calibre, the author name and title and other information go into the correct heading? For example, after some experimentation, I found that if I rename the book on my computer as book_title - author , then the information goes correctly into Calibre. What I am trying to do is figure out how to add some more information, like series and number. I have tried different combinations but nothing is working. Suggestions? |
![]() |
![]() |
![]() |
#2 |
ɴₐɴ
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 421
Karma: 2507940
Join Date: Jun 2011
Location: 37.2N 93.3W
Device: KV PW4 PW3 PW2
|
Preferences > Adding Books
Set the Regular expression field to: Code:
(?P<author>[^_-]+) -?\s*(?P<series>[^_0-9-]*)(?P<series_index>[0-9]*)\s*-\s*(?P<title>[^_].+) ? A book with the filename in the following format should work: Author - Series Series Number - Title.epub |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 252
Karma: 1232346
Join Date: Jul 2006
Location: Macau
Device: Kindle Oasis (plus lots of older devices)
|
Perfect! Thanks. Do you have a resource that explains how to set this for yourself, depending on the file? Basically, how to write the hieroglyphics you wrote above?
![]() |
![]() |
![]() |
![]() |
#4 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,701
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@Tom Swift here you go==>> http://manual.calibre-ebook.com/regexp.html
|
![]() |
![]() |
![]() |
#5 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 252
Karma: 1232346
Join Date: Jul 2006
Location: Macau
Device: Kindle Oasis (plus lots of older devices)
|
Like I thought, searching for the wrong buzz words. Thanks everyone.
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Changing the Input format | 69bonni | Calibre | 2 | 01-12-2011 11:16 AM |
Help with filename format in save | jblitereader | Calibre | 16 | 08-27-2010 07:18 PM |
Default Input Format | edbro | Calibre | 3 | 06-12-2010 03:13 PM |
output filename format | jdh | Calibre | 6 | 08-12-2009 09:35 PM |
How to control which format to send to device | ddavtian | Calibre | 1 | 10-16-2008 03:28 AM |