From b7b9db6c35f50ee8ea90cb6bf7535b78b71a35a4 Mon Sep 17 00:00:00 2001 From: vanda-illyes Date: Sun, 3 Nov 2024 21:01:06 +0100 Subject: [PATCH] Fixed typo in command --- .github/workflows/publish_generic.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish_generic.yaml b/.github/workflows/publish_generic.yaml index 933f910..18674d0 100644 --- a/.github/workflows/publish_generic.yaml +++ b/.github/workflows/publish_generic.yaml @@ -11,7 +11,7 @@ jobs: node-version: 20 - name: Rename all .md files - run: ffind . -depth -name "*.md" -exec sh -c 'f="{}"; d="$(basename "$(dirname "$f")")"; mv -- "$f" "$(dirname "$f")/${d}_$(basename "$f")"' \; + run: find . -depth -name "*.md" -exec sh -c 'f="{}"; d="$(basename "$(dirname "$f")")"; mv -- "$f" "$(dirname "$f")/${d}_$(basename "$f")"' \; - name: Replace comments with a space run: find . -type f -name "*.md" -exec sed -i 's// /g' {} +