for a in [1-9].jpg;do mv $a `printf %02d.%s ${a%.*} ${a##*.}`; done