erste Version des Blogs, auf die Schnelle

This commit is contained in:
Ludger Sicking 2024-10-30 09:01:25 +01:00
parent 0e09b0c03e
commit 96408a4ca9
90 changed files with 1747 additions and 11 deletions

View file

@ -0,0 +1,7 @@
#!/bin/bash
FILE=$1
WEIGHT="weight: -20500101"
echo "working on >>"$FILE"<<"
DETECTED_DATE=$(grep datePublished $FILE | sed -E 's/datePublished...(2024)-(..)-(..)./\1\2\3/')
echo "weight to set: >>-"$DETECTED_DATE"<<"
sed -i "s/weight: xxx/weight: -${DETECTED_DATE}/" $FILE