tikka and script improvement

This commit is contained in:
2025-12-24 13:48:24 -08:00
parent db98ba9757
commit 5ce46815ca
4 changed files with 14 additions and 5 deletions

View File

@@ -1,7 +1,9 @@
#!/bin/bash
SCRIPT_DIR=$(dirname "$(readlink -f "$0")")
# Find all files of type PNG, JPEG, or TIFF
files=$(find ../hugo-content/static/img/ -type f -iname "*.png" -o -iname "*.jpg" -o -iname "*.tif")
files=$(find $SCRIPT_DIR/../hugo-content/static/img/ -type f -iname "*.png" -o -iname "*.jpg" -o -iname "*.tif")
# Loop through all the files in the directory
for file in $files; do