I have very little to complain about [#Obsidian](https://pkm.social/tags/Obsidian). It's a truly remarkable app! - eviltoast

I have very little to complain about #Obsidian. It’s a truly remarkable app!

One thing I wish it could do is to automatically rename links when their name is changed *outside of the app*. I realise this probably isn’t possible, but it’d be nice if it was.

I use the auto link renamer plugin, and it works well, but sometimes I like to bulk rename files in the Finder, and this breaks all the links associated with them.

Unless there’s a way to bulk rename files *inside* Obsidian?

@obsidianmd

  • astrophoenix@pkm.social
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    @ellane @obsidianmd my obligatory “I change the links on the command line with perl” post
    find . -name \*.md -print0 |xargs -0 perl -p -i -e 's/\[\[old name\]\]/[[new name|alias]]/‘
    you can leave out “|alias" if not needed.