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
BASE=$(basename $n|cut -d'.' -f1)
mkdir -vp cicd_blog/content/posts/$BASE
echo cp -v $n cicd_blog/content/posts/$BASE/index.md
mkdir -vp /tmp/blog/content/posts/$BASE
cp -v $n /tmp/blog/content/posts/$BASE/index.md
done

Loading…
Cancel
Save