Skip to content

Instantly share code, notes, and snippets.

@rudSarkar
Created May 30, 2023 07:25
Show Gist options
  • Save rudSarkar/252ea10f37bd4071f1966f2d81ba4feb to your computer and use it in GitHub Desktop.
Save rudSarkar/252ea10f37bd4071f1966f2d81ba4feb to your computer and use it in GitHub Desktop.
Convert HEIC format to PNG using onliner
find . -name "*.HEIC" -exec sh -c 'sips -s format png "$1" --out "$(basename "$1" .HEIC).png"' _ {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment