Skip to content

Instantly share code, notes, and snippets.

@nautatva
Created November 6, 2019 23:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nautatva/93a2c73cffc36f040e002d71ba362b69 to your computer and use it in GitHub Desktop.
Save nautatva/93a2c73cffc36f040e002d71ba362b69 to your computer and use it in GitHub Desktop.
for i in *.CR2; do sips -s format jpeg $i --out "${i%.*}.jpg"; done
for i in *.CR2; do sips -s format jpeg $i --out "{relative location}$i.jpg"; done
// relative location might be as simple as ./ or ../
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment