this should do it

main
Nick Dumas 2 years ago
parent 22ed1169e8
commit f6adc9a129

@ -5,6 +5,6 @@ NOTES=$(find Resources/blog/ -type f -not -path "*drafts/*" -name "*.md" )
for n in $NOTES; do for n in $NOTES; do
BASE=$(basename $n|cut -d'.' -f1) BASE=$(basename $n|cut -d'.' -f1)
mkdir -vp cicd_blog/content/posts/$BASE mkdir -vp /tmp/blog/content/posts/$BASE
echo cp -v $n cicd_blog/content/posts/$BASE/index.md cp -v $n /tmp/blog/content/posts/$BASE/index.md
done done

Loading…
Cancel
Save