Skip to content

Instantly share code, notes, and snippets.

@esnho
Created December 2, 2020 13:07
Show Gist options
  • Save esnho/cbb43c2f15ac633ff5d5d164fd10dc60 to your computer and use it in GitHub Desktop.
Save esnho/cbb43c2f15ac633ff5d5d164fd10dc60 to your computer and use it in GitHub Desktop.
for i in *.CR2; do sips -s format jpeg $i --out "${i%.*}.jpg"; done
## if you want to choose the color profile
for i in *.NEF; do sips -s format jpeg --matchTo "/System/Library/ColorSync/Profiles/sRGB Profile.icc" $i --out "${i%.*}.jpg"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment