This commit is contained in:
2025-11-27 02:33:17 +00:00
parent 76c81548bf
commit c4528f1319
8 changed files with 79 additions and 36 deletions
+4 -6
View File
@@ -28,10 +28,8 @@ if [ -n "$jpgs" ]; then
fi
for subd in *; do
if [ -d "${subd}" ]; then
pushd "${subd}"
~/zip_images_recursive.sh "${directoryTree}"
popd
fi
find . -mindepth 1 -maxdepth 1 -type d -print0 | while IFS= read -r -d '' subd; do
pushd "${subd}"
~/zip_images_recursive.sh "${directoryTree}"
popd
done