Add script to resize images (#153)
This commit is contained in:
parent
e6f660bc2e
commit
19a1b8efe1
1 changed files with 7 additions and 0 deletions
7
tools/resize-images
Executable file
7
tools/resize-images
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
for file in *.jpg; do convert $file -resize 1000x1000 -quality 95 $file > /dev/null 2>&1; done
|
||||
for file in *.JPG; do convert $file -resize 1000x1000 -quality 95 $file > /dev/null 2>&1; done
|
||||
for file in *.png; do convert $file -resize 1000x1000 -quality 95 $file > /dev/null 2>&1; done
|
||||
exit 0
|
||||
|
Loading…
Reference in a new issue