Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 11-08-2018, 01:56 PM   #1
rjbarber
Junior Member
rjbarber began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Nov 2018
Device: None
Add Book File Filter Rules Bulk Import?

Is there a way to bulk import multiple File Filter Rules?

I want to filter out the same file extensions I set in the Automatic Adding section. Instead of adding them one at a time in the Adding Actions section of the Adding Books preferences, is there a file I can edit and add all the rules via cut-n-pasting properly formatted rule sections?
rjbarber is offline   Reply With Quote
Old 11-08-2018, 04:57 PM   #2
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 11,311
Karma: 10578436
Join Date: Mar 2012
Location: Sydney Australia
Device: none
They're in the add-filter-rules.json file in the calibre configuration directory, you'll need to add a rule to create the file and get a 'template', which will look something like this

Code:
{
  "template": [
    {
      "query": "template", 
      "action": "ignore", 
      "match_type": "startswith"
    }
  ]
}
There's a button in Preferences->Miscellaneous to open the calibre configuration directory. And take a copy of the directory and close calibre before you edit any files in there.

BR
BetterRed is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
'File, Import Files' and 'Add File' redundant? phossler Editor 2 01-06-2014 01:55 AM
How to bulk add the same book cover Rusherman Library Management 4 05-03-2013 09:55 PM
Can I import meta data without a book file? fbrII Calibre 3 01-30-2012 02:16 PM
how to write calibre metadata to the book file in bulk? user105 Calibre 7 01-04-2012 06:21 AM
[Old Thread] import library or export to single file add to existing library PCreighton Calibre 4 04-10-2011 02:08 AM


All times are GMT -4. The time now is 05:55 AM.


MobileRead.com is a privately owned, operated and funded community.