|
|
#1 |
|
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Aug 2010
Device: Kindle 3
|
Import expression request
My files are named like this "1-The Diamond Throne - David Eddings"
I need calibre to import them as series number-title - author Does anyone have an expression for this? I tried using expression generators and couldn't make it work ![]() Thanks so much!! |
|
|
|
|
|
#2 | |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,270
Karma: 61916422
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
An index_number can't exist without a series_name |
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Aug 2010
Device: Kindle 3
|
Can I just ignore the series number then and just import the title and author?
|
|
|
|
|
|
#4 |
|
Junior Member
![]() Posts: 3
Karma: 10
Join Date: May 2011
Device: HP TM2
|
I am adding files from another manager, which renames files to "title"-"author"-"index number"-"ISBN" (with "-" as delimiter).
(?P<title>.+)-(?P<author>[^_]+)-(?P<dummy>.+)-(?P<isbn>.+) Since Calibre has no use for "index number", I just use a 'dummy' instead, so that I can add "title", "author" and "ISBN"... works fine for so far! So in your case you could try: (?P<dummy>.+)-(?P<title>.+)-(?P<author>[^_]+) Good luck and please share if it works! tom |
|
|
|
|
|
#5 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
|
|
|
|
| Advert | |
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Calibre book adding: Regular expression request... | Spiffy | Calibre | 34 | 01-19-2016 02:03 PM |
| REQUEST: Choosing duplicates to import | Giuseppe Chillem | Calibre | 1 | 01-08-2011 01:34 PM |
| Need an import expression to use sub-foldername as series | santiagodraco | Calibre | 3 | 06-10-2010 08:54 AM |
| Feature Request at the import-function | ralphffm44 | Calibre | 4 | 04-02-2010 02:14 PM |
| What is the default regular expression for filename import? | palex481 | Calibre | 2 | 03-22-2009 07:11 PM |