#!/bin/bash cd ../imagini/00-portrete/ for i in *.jpg; do convert $i -resize 24x24 ../01-embleme/$(basename $i .jpg).jpg; done