this post was submitted on 12 Nov 2023
2 points (62.5% liked)

ObsidianMD

4105 readers
1 users here now

Unofficial Lemmy community for https://obsidian.md

founded 1 year ago
MODERATORS
 

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

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 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.