tikka and script improvement
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user