Skip to content

Instantly share code, notes, and snippets.

@lucien144
Created January 18, 2016 11:06
Show Gist options
  • Select an option

  • Save lucien144/933dab5d59baca9f9de7 to your computer and use it in GitHub Desktop.

Select an option

Save lucien144/933dab5d59baca9f9de7 to your computer and use it in GitHub Desktop.
Mac OS bulk convert from PNG to JPG (inline)
#!/bin/bash
mkdir converted;for i in *.png; do sips -s format jpeg $i --out converted/`echo "$i" | sed -e "s/\.png//g"`.jpg;done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment