Open OR reveal note from terminal

Things I have tried

I tried adding the plug-in Automatically Reveal Active File, but that didn’t work.

What I’m trying to do

I have a script I run to open a file in Obsidian:

xdg-open “obsidian://advanced-uri?vault=${VAULT}&filename=${FILE}”

Works great, but if I run it when the file is already open it just opens a new copy when I’d rather just reveal that first one

Is there a way to do this?

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.