Created
December 3, 2019 19:35
-
-
Save zolotyh/3d6835096e98a356681629c6312884da to your computer and use it in GitHub Desktop.
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/sh | |
for i in *.heic; do sips -s format jpeg -s formatOptions best "${i}" --out "${i%heic}.jpg" && touch -r "${i}" "${i%heic}.jpg"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment