Another complex example What does the following do? ar=/old; tb=/thumb for gr in `find /path/ -name \*.xwd` do (convert -size 80x80 $gr $tb/`basename $gr`.png && mv $gr $ar)& done