Skip to content

Instantly share code, notes, and snippets.

@rileyjshaw
Created May 30, 2023 03:15
Show Gist options
  • Save rileyjshaw/92eefdc41c6546b50aa5ee1c552f3022 to your computer and use it in GitHub Desktop.
Save rileyjshaw/92eefdc41c6546b50aa5ee1c552f3022 to your computer and use it in GitHub Desktop.
Adding this to remind myself that the `mogrify` command exists
# heic-convert() {
# local ext
# ext="${1:-jpg}"
# for img in *.heic; do
# convert "$img" "${img%.heic}.$ext"
# done
# }
# Instead of ^this^, do this:
mogrify -format jpg *.heic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment