Replies: 1 comment 3 replies
-
Hello, In theory, what you're describing should already work, but I don't really work with PDFs, and actually never tried to modify one for Obsidian. If you update a PDF and then just restart Obsidian (without clearing the cache), does it work? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
In my workflow, I'm updating notes in note-taking apps (e.g. Notability and GoodNotes). Each time the documents in these apps are changed, I have them trigger a new backup of that note as a PDF into an Obsidian Vault. Notably, this PDF comes with updated OCR text.
The new backup replaces the old version of the file in the vault -- same file name, but different mod date.
Unfortunately, since the change did not originate in Obsidian, it seems that the triggering of a new extraction does not happen, as presumably the internal event bus does not generate an event for OmniSearch to see.
I can use an external file watcher in macOS to trigger events when the PDFs are changed, but I can't actually figure out a simple way to either: 1) Have Obsidian trigger a modification event for those files (e.g. using URI command or other), or 2) Similarly, have OmniSearch / TextExtractor trigger a new text extraction, replacing the old.
If one right-clicks on a PDF file that has been updated, and chooses "Text Extractor... clear cache for this file" one can remove the cache manually, and then re-start Obsidian. This then triggers a rebuild.
However, I'd need to know which files changed, and then manually take care of this for each and every file.
Any ideas or how to overcome this problem?
OmniSearch is doing a great job, it is almost seamless for me.
Beta Was this translation helpful? Give feedback.
All reactions