Skip to content

Instantly share code, notes, and snippets.

@Sciss
Last active August 29, 2015 14:22
Show Gist options
  • Select an option

  • Save Sciss/a20f63b824c1557bf304 to your computer and use it in GitHub Desktop.

Select an option

Save Sciss/a20f63b824c1557bf304 to your computer and use it in GitHub Desktop.
for f in <source-dir>/*.TIF; do echo "Converting $f"; convert -quality 80 "$f" "$(basename "$f" .TIF).jpg"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment