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
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
@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.