Recognizing File Changes

I imported from .enex and want the text inside records to be searchable. I am using OwlOCR for this and it works well. If the file is already a .pdf, I create a new one with _ocr appended to the filename. I do an Eagle Filer scan for new files and it works. I would prefer to replace rather than rename though…is it possible to trigger an Eagle Filer scan for these new files that didn’t get a name change? This is an example of CLI in case it helps others out: /Applications/OwlOCR.app/Contents/MacOS/OwlOCR --cli --input “/Users/macbook-desktop/Documents/EagleFilerLibraries (supplemental)/evernotes/Files/CCC/Scannable Document on Jun 19, 2023 at 10_54_05 AM.pdf” --output “/Users/macbook-desktop/Documents/EagleFilerLibraries (supplemental)/evernotes/Files/CCC/Scannable Document on Jun 19, 2023 at 10_54_05 AM_ocr.pdf” --silent --silence-notifications && mv “/Users/macbook-desktop/Documents/EagleFilerLibraries (supplemental)/evernotes/Files/CCC/Scannable Document on Jun 19, 2023 at 10_54_05 AM_ocr.pdf” “/Users/macbook-desktop/Documents/EagleFilerLibraries (supplemental)/evernotes/Files/CCC/Scannable Document on Jun 19, 2023 at 10_54_05 AM.pdf”

If you simply replace a PDF file with a new version of the same file (with OCR layer added), provided that the modification date is updated, EagleFiler will automatically detect that the file has changed and reindex it. You do not need to do a scan for new files because that’s for detecting and importing new files; this file is already in the library.

EagleFiler will detect changes when you open the library, when you click on the file to view it, or during a once-daily scan if the library is already open.

Perfect explanation, thank you!

There was another variable in play - which software I was using to perform the OCR. Coincidentally, the ocrmypdf software was working correctly and configured to rename the files…but the other ocr software was making some errors and configured to ocr file in place with no rename. So I thought it was an Eagle Filer detection issue, but it wasn’t.