批量图片大小调整

点击查看代码
for file in `ls ./*.png`
do
  convert -resize 16x16 ${file:2} ${file:2}.png
  rm ${file:2}
  mv ${file:2}.png ${file:2}
done
posted @ 2013-07-21 22:47  日月王  阅读(165)  评论(0编辑  收藏  举报