# convert all PNGs in the current directory to a maximum dimension of 256x256 and name the copy accordingly for f in *.png; do convert -resize 256x256 "$f" "${f%.png}_256x256.png"; done
# convert all PNGs in the current directory to a maximum dimension of 256x256 and name the copy accordingly for f in *.png; do convert -resize 256x256 "$f" "${f%.png}_256x256.png"; done