Improvements

This commit is contained in:
2025-11-27 04:22:46 +00:00
parent dba00da901
commit 97ba5eac6a
7 changed files with 141 additions and 10 deletions
+8 -3
View File
@@ -1,9 +1,14 @@
#!/bin/bash
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
find . -mindepth 1 -type d -print0 | while IFS= read -r -d '' f
do
pushd "$f"
~/images_resize.sh
popd
if pushd "$f" > /dev/null; then
"$SCRIPT_DIR/images_resize.sh"
popd > /dev/null
else
echo "Error: Failed to change to directory $f"
fi
done