How to remove unused note aliases?

I’m looking for an easy way to identify, and delete unused note aliases in my vault.
For a while, I’ve been generating uppercase/lowercase/title cased variants of all my note names.
But with ~10K notes, this is too much, and many variants are never used.

How would you approach cleaning up the vault? Is there a plugin that does this already?

i wouldn’t worry about having surplus properties – you created them for some reason in the first place…

i have many tags i don’t really use anymore but they simply don’t probably take more space than a couple of bytes…

…but if you have decided to remove all, i think you can use the Linter plugin (YAML → Remove Yaml Keys) for this job

if you only want to remove the clutter of what you described, and leave aliases where they don’t resemble the title, you’ll need some script i reckon – i don’t think there’ll be a plugin where you can pick (by what rule?) what you want to keep or not

or alternatively, get a quickswitcher alternative where you can switch off all aliases, but that would mean losing alias offerings where the aliases don’t closely match the titles…

Linter and

helped me with this a few weeks ago.

(You can replace aliases: with “”)

1 Like

OP (silent yet) prolly wants to remove the ones getting on his nerves…
Linter cannot distinguish between what to keep and what not to keep
it will remove all

this calls for some bot help for a python or shell/batch script

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