Use case or problem
Files with perfectly legal characters and different “casing” aren’t handled consistently in Obsidian.
Example
We have two files, normally created within Obsidian:
-
Test links upper- and lowercase.md, and
-
Test Links upper- and lowercase.md.
We can create and access them just fine in Obsidian, but
- all of the links below point to
Test links upper- and lowercase.md,
- and the graph view also shows just
Test links upper- and lowercase.
[[Testing/Test links upper- and lowercase]]
[[Testing/Test Links upper- and lowercase]]
[Testing/Test links upper- and lowercase](<Testing/Test links upper- and lowercase.md>)
[Testing/Test Links upper- and lowercase](<Testing/Test Links upper- and lowercase.md>)
I regard this as a bug. Differently “cased” filenames are different, at least on real Operating Systems like Linux.
I know that MacOS as well as Windows put (rather flakey) file APIs on top, so it “looks like” case-insensitivity, even on the case-sensitive file systems they support, supposedly to make their OS’s compatible with older stuff.
Proposed solution
In my opinion Obsidian should
- either reduce their file API to a “common set” that works on all supported OS’es (i.e., case-insensitive file names, restrict common “illegal” characters)
- or allow users the full capacity of their respective OS’es (like file name case-sensitivity and all otherwise “restricted” characters in file names).
Thinking of syncing vaults around machines with different OS’es, the former might be a better general solution, but I’d still prefer the latter, maybe with a little caution regarding the machinery being synced to.
Current workaround (optional)
Be aware of what I’m doing, generally trying to avoid filenames with “conflict potential”. (Though it’s hard on Linux if one is used to be able to do everything. For syncing with Windows, I tend to forget they don’t want :, ? and different casing.)
Related feature requests (optional)