File in multiple folder

In the past I’ve used a nice note app called UpNote. It had a feature where you could assign an individual note to multiple folders. Something like this can be handy.

Of course because Obsidian uses the system file system I know it might not be possible. But I was thinking that maybe the actual file could be in folder #1, if it needs to be seen also in another folder a short-cut could be placed int folder #2.

This is just a possibility that occured to me. I don’t know how if it could work or how.

3 Likes

I do this in File Explorer by using shortcuts. It would be easier if it could be done within Obsidian with a Hotkey.

On my computer doing that takes me Typora. It is set as my default app for .md files. Setting Obsidian as my default should be easy, but Obsidian is not listed as an option, and I can’t find where the program is stored on my computer. I’m using Windows 11.

From a technical perspective, I have two ideas:

  1. create literal file links which point to the original/source file via the plugin.
  2. show phantom notes which would open the source file with the source location and shortcuts stored and handled by the plugin.
    • This means more work on the plugin, and the user relying on it to really do the linking to the source file directly within it.

Hard Links

I tested out the file links since it would make the plugin easy to make.
Shortcuts and symbolic links aren’t recognized by Obsidian—hard links worked though.

Obsidian file-link test

It doesn’t behave perfectly when viewing both tabs at once, and could result in a loss of changes, as Obsidian doesn’t natively reload files if they literally aren’t the same file (path).

Here you can see that if you change the text in both views, the last edited (hard-link) will override the changes made in the former (source).

Obsidian file-link double change test

But I’m pretty sure the plugin would be able to handle/prevent these cases too.

2 Likes