Last active
December 4, 2024 17:25
-
-
Save bittercoder/f6601784ebe4f63e9b9e037e3344b960 to your computer and use it in GitHub Desktop.
Convert .heic files to .jpg on linux (coming from an iOS11 device over USB)
This file contains hidden or 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
# download release from github: https://github.com/monostream/tifig/releases and install at ~/tools/tifig | |
# then run these commands in the folder (just to keep things simple we normalize the file extension case before proceeding). | |
for f in *.HEIC; do mv "$f" "`echo $f | sed s/.HEIC/.heic/`"; done | |
for file in *.heic; do echo "~/tools/tifig -v -p $file ${file/%.heic/.jpg}"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@buragwitmo I believe this will be useful for you.