![]() |
#1 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Jan 2019
Device: None
|
Adding books: metadata from filenames
I have a bundle of books which I wish to add to my library. I understand the Add function can be configured by suitable regular expressions, but my attempts do not seem to work.
My books are largely stored in directories/folders ... author/title.xyz author/author - title.xyz author/title - author.xyx author/title by author.xyz author/series/title.xyz and so on. The Add configuration section allows entry of a set of regular expressions. Am I correct in assuming they are tried in succession? What happens if none are satisfied? How do I delete the expressions which are unsatisfactory? Can anyone refer me to a suitable set of such expressions? I've got some 6000 files to take on, so you can appreciate I want to automate the process. ( Will I have to write some Perl to get everything into shape? ) |
![]() |
![]() |
![]() |
#2 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,899
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Calibre if configured (add books) to use file name, does not use anything outside the current folder for metadata.
Add books CAN scan the source sub folders for content (books), but the rule on file name remains |
![]() |
![]() |
Advert | |
|
![]() |
#3 | ||
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,621
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Quote:
The drop down list is "filename_pattern_history" in gui,json you can remove items from here, the current pattern is "filename_pattern": in global.py.json, I'd leave that one alone. If you edit files in calibre's configuration folder, do it when calibre is NOT running, and take a copy of the file before you change it. You can discover the location of calibre's configuration folder by clicking the relevant button in Preferences_>Miscellaneous. BR |
||
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Jan 2019
Device: None
|
Thank you for locating the configuration file for me.
|
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Jan 2019
Device: None
|
Looks as if I'll have to use Perl.
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help Editing Metadata of New Books While Adding Them | Kevin1a | Library Management | 7 | 06-16-2016 05:40 AM |
Metadata not included when adding books | everbos | Library Management | 5 | 05-10-2016 02:42 PM |
Metadata when adding books | dc696969 | Library Management | 0 | 03-26-2013 04:48 AM |
Adding books: getting metadata from path? | lbolton | Library Management | 2 | 08-05-2012 09:50 PM |
Filenames to metadata, preserving filenames. | nitrogun | Calibre | 5 | 09-13-2010 10:50 PM |