Created
September 14, 2010 11:49
-
-
Save henrikh/578909 to your computer and use it in GitHub Desktop.
I had a folder images I needed to resize, I used this shell script to do so.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#I had a folder images I needed to resize, I used this shell script to do so. | |
for f in *.JPG | |
do | |
echo -n "Resizing $f... " | |
convert $f -resize 256x256 s-$f | |
mv s-$f small/ | |
echo "Done" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment