Improvements
This commit is contained in:
@@ -28,8 +28,10 @@ if [ -n "$jpgs" ]; then
|
||||
fi
|
||||
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
|
||||
find . -mindepth 1 -maxdepth 1 -type d -print0 | while IFS= read -r -d '' subd; do
|
||||
pushd "${subd}"
|
||||
~/zip_images_recursive.sh "${directoryTree}"
|
||||
"$SCRIPT_DIR/zip_images_recursive.sh" "${directoryTree}"
|
||||
popd
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user