Migration
This commit is contained in:
13
Cmd/resize_images.sh
Normal file
13
Cmd/resize_images.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
# example:
|
||||
# sh resize_images.sh ./Game "*.PNG" 50%
|
||||
|
||||
IMAGES=$(find $1 -type f -name $2)
|
||||
|
||||
for image in $IMAGES
|
||||
do
|
||||
echo $image
|
||||
magick $image -resize $3 $image
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user