|
|
Thread Tools | Search this Thread |
05-17-2019, 01:15 PM | #1 |
Junior Member
Posts: 7
Karma: 10
Join Date: Jan 2019
Device: Android phone (Samsung Galaxy S9+), MacOSX
|
Populating a custom Yes/No field based on results from bash command executed on file
I would like to mark PDF files in Calibre as searchable/not-searchable (I guess the former would be text+images and the latter would be un-OCR'ed images). I would like to try populating this custom Yes/No field based on results from a command executed in bash on the file, e.g. whether
strings `file` | grep -c FontName gives an integer greater than 0. Is this possible, and if so, how do I do it? |
05-17-2019, 09:20 PM | #2 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Automatically populating metadata for PDF files based on filename | Bhuvanesh | Library Management | 4 | 01-15-2019 01:39 AM |
Question about populating custom field | jmricker | Plugins | 3 | 08-09-2014 02:10 PM |
Show tags searched results only in library field | Scottrow | Library Management | 3 | 11-09-2013 09:04 PM |
Automatically populating metadata "tags" field from directory structure | battaglia01 | Calibre | 1 | 12-13-2012 09:23 PM |
Touch Script: Creating and populating shelves based on calibre tags | Krytes | Kobo Reader | 7 | 10-02-2012 01:57 PM |