Resize multiple images in one bash script
Badoom……!!!
#!/bin/bash
for i in *.JPG; do echo $i; base=`basename "$i" .JPG`; convert "$i" -resize 50% "thumbs/$base.jpg"; done
Badoom……!!!
#!/bin/bash
for i in *.JPG; do echo $i; base=`basename "$i" .JPG`; convert "$i" -resize 50% "thumbs/$base.jpg"; done