Mac 压缩文件夹下图片命令
shell
for file in *.jpg; do sips -s 30% "$file" --out "${file%.*}.jpg"; done
for file in *.jpg; do sips -s 30% "$file" --out "${file%.*}.jpg"; done