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

ObsidianMD

4099 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

top 4 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 11 months ago (1 children)

@ellane @obsidianmd I don’t see an auto link renamer plugin in the repo πŸ€”

[–] [email protected] 1 points 11 months ago

@EpiphanicSynchronicity @ellane @obsidianmd Sounds like a useful plugin though!

[–] [email protected] 1 points 11 months ago

@ellane @obsidianmd
There is a Bulk Rename plugin. obsidian://show-plugin?id=obsidian-bulk-rename-plugin

[–] [email protected] 1 points 11 months 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.