From f6adc9a129eefdd170a759f719536b8c099c8531 Mon Sep 17 00:00:00 2001 From: Nick Dumas Date: Sun, 5 Feb 2023 16:10:41 +0000 Subject: [PATCH] this should do it --- copy-posts/copy-posts.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/copy-posts/copy-posts.sh b/copy-posts/copy-posts.sh index 92e0065..23a421e 100755 --- a/copy-posts/copy-posts.sh +++ b/copy-posts/copy-posts.sh @@ -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