ubuntu批量图片格式转换 png格式转化为jpg,在文件夹终端输入指令 ls -1 *.png | xargs -n 1 bash -c ‘convert “ 0 " " 0" " 0""{0%.png}.jpg”’ 删除文件夹中的png图片 rm -rf *.png