From dfa41b2af885e8b51327064d0789dd02f53f635a Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 17 Nov 2024 19:49:22 -0300 Subject: rm- rf src/development/ --- src/development/JEKYLL_COMPAT/copy-content.sh | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100755 src/development/JEKYLL_COMPAT/copy-content.sh (limited to 'src/development/JEKYLL_COMPAT/copy-content.sh') diff --git a/src/development/JEKYLL_COMPAT/copy-content.sh b/src/development/JEKYLL_COMPAT/copy-content.sh deleted file mode 100755 index 4857ac6..0000000 --- a/src/development/JEKYLL_COMPAT/copy-content.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh -set -eu - -# JEKYLL_COMPAT: copy files while things under `src/content/` aren't the -# canonical source - -for f in _pastebins/*; do - NAME="$(basename "$f")" - DATE="$(echo "$NAME" | cut -d- -f-3 | tr '-' '/')" - FILENAME="$(echo "$NAME" | cut -d- -f4-)" - - DIR="src/content/pastebin/$DATE" - mkdir -p "$DIR" - - if [ ! -e "$DIR/$FILENAME" ]; then - cp "$f" "$DIR/$FILENAME" - fi -done -- cgit v1.2.3