Steps to reproduce
While obsidian is running, symlink a directory external to the vault. You can access files in it from obsidian. Now restart Obsidian. The symlink is no longer recognized.
Symlinks should have the same treatment whether they were created while obsidian is running or before. If symlinks are followed properly it should be possible to create new files in the symlinked dir. But this does not work either.
- Operating system: MacOS Mojave
- Using custom CSS: shouldn’t matter
At the moment, we don’t have any specific threatment/support for symlinks.
So, I suggest you open a feature request asking for proper support of symlinks.
The inconsistent treatment is a bug. Obsidian should either completely ignore symlinks or handle them right at all times. Ideally the latter!
What I am saying is that we haven’t put in place anything to handle or not handle symlinks. It’s also an OS dependant problem.
I understand the usefulness of symlinks and I think it is an important feature to work on.
Steps to reproduce
cp ~/test.pdf ../tmp/
ln -s ../../tmp/test.pdf t.pdf
Works on macOS for the 1st time when you create the link. But shows nothing on the next launch. Also not working after synced to Ubuntu 20.04.
I’m on osx here, I tried using symlinks and at first it worked. But now that I check again it’s gone in the file explorer. Having support for symlinks would be great and very helpful!
Just bumping this! It’d be tremendously helpful for my workflow and solve this problem: Separating work and personal
Symlinks will not be implemented in the short-term.
There are significant technical challenges implementing a file watcher when symlinks are involved.
This bug report is about consistency, i.e. at moment we do not support symlinks, hence they should not appear if created while Obs running (minor bug).
If you want symlinks in the future, open a feature request.
I believe there is already a feature request for this -> Show/edit symbolic links [symlinks, folder links]
That’s a pity to hear that there are some big challenges implementing symlinks in the short-term.
EDIT: folder symlinks are now supported