zip_image.sh
This commit is contained in:
parent
317cea552b
commit
d8df1bca93
@ -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 "$@"' _ {}
|
Loading…
Reference in New Issue
Block a user