zip_image.sh

This commit is contained in:
Struchkov Mark 2024-09-25 10:13:48 +03:00
parent 317cea552b
commit d8df1bca93
No known key found for this signature in database
GPG Key ID: A3F0AC3F0FA52F3C

View File

@ -332,6 +332,6 @@ find "$IMAGE_DIR" -type f \
xargs -0 -P "$THREADS" -I {} bash -c 'process_jpeg "$@"' _ {}
# Конвертация в WebP
find "$COMP_DIR" -type f \( -iname '*.jpg' -o -iname '*.jpeg' -o -iname '*.png' \) \
find "$IMAGE_DIR" -type f \( -iname '*.jpg' -o -iname '*.jpeg' -o -iname '*.png' \) \
-print0 | \
xargs -0 -P "$THREADS" -I {} bash -c 'process_webp "$@"' _ {}