for i in *.jpg; do
convert ... $i $i
done
must do it. This will work for sh / bash / zsh, etc. It is assumed that all of your * .jpg files are in the current directory. Otherwise, replace * .jpg with the appropriate search call, for example.
for i in `find . -name "*.jpg" -print`; do
. , , ( for)
zsh,
for i in **/*.jpg; do
zsh. , bash .