Last active
April 26, 2021 18:11
-
-
Save gkthiruvathukal/87f27eab75430af4be27f6b149fb8cb4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
for y in *.yaml; do | |
yq eval .note $y > $(basename $y .yaml).txt | |
done |
This file contains hidden or 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
for y in *.yaml; do | |
zettel --file $y --load-document $(basename $y .yaml).txt --delete-note --save $(basename $y .yaml).md | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Make sure to
snap install yq
orbrew install yq
first.