obsidian-utils/ob-get-links

4 lines
124 B
Plaintext
Raw Normal View History

2021-03-12 18:35:20 +00:00
function ob-get-links -d "Get Obsidian links in file" -a filename
cat "$filename" | grep -oP '(?<=\- \[\[).*(?=\]\])'
end