Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 11-08-2018, 12: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, 03:57 PM   #2
BetterRed
null operator (he/him)
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: 20,762
Karma: 27405072
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
Advert
Reply


Forum Jump

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


All times are GMT -4. The time now is 12:32 AM.


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