Created
March 10, 2022 12:37
-
-
Save fishnibble/a60905de7ae61625c364daaca33d6071 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Script for getting all TODOS in obsidian | |
notePath="your path here" | |
output=~/"output path here" | |
echo "#Global TODOs" > "$output" | |
grep -hr --exclude-dir=plugins "\bTODO\b:.*" "$notePath" | awk '{print $0,"\n"}' >> "$output" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment