Created
September 2, 2021 23:16
-
-
Save ChrisSwanson/672c305fa83954b551a446a93bbcaf33 to your computer and use it in GitHub Desktop.
heic2jpg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$!/bin/bash | |
# if imagemagick is not installed, install it. | |
if ! command -v mogrify &> /dev/null | |
then | |
brew install imagemagick | |
fi | |
# convert heic files to jpg | |
mogrify -format jpg *.heic | |
# because case sensitivity is a thing... | |
mogrify -format jpg *.HEIC |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment