Skip to content

Instantly share code, notes, and snippets.

@mattdesl
Created February 14, 2021 16:38
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 mattdesl/050b104a8c8d455d17861026d5ae197b to your computer and use it in GitHub Desktop.
Save mattdesl/050b104a8c8d455d17861026d5ae197b to your computer and use it in GitHub Desktop.
(unix) one-line convert all TIFs in folder to high quality JPG
for i in *.tif; do sips -s format jpeg -s formatOptions best $i --out ${i%tif}converted.jpg;done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment