I need a very simple script which does this:
mogrify -resize $1x$2^ -gravity center -crop $1x$2+0+0 $3
so that I can call it in this way:
cropresize.sh 110 110 *.png
the problem is that the shell expands the
*.png pattern instead of passing it as it is to the script.
How can I achieve this (script, alias or any other equivalent solution is fine)?