Skip to content

Instantly share code, notes, and snippets.

@SubZane
Created December 7, 2018 08:56
Show Gist options
  • Save SubZane/0797b69426e5b4f5d43bc17f9d1dd7d1 to your computer and use it in GitHub Desktop.
Save SubZane/0797b69426e5b4f5d43bc17f9d1dd7d1 to your computer and use it in GitHub Desktop.
Convert PNG to JPG
for i in *.png; do sips -s format jpeg -s formatOptions 100 "${i}" --out "${i%png}jpg"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment