#!/usr/bin/fish for image in *.png gm convert -resize 1000 $image ok-$image.png end flaca -p *