Skip to content

Instantly share code, notes, and snippets.

@dublado
Last active January 27, 2020 05:16
Show Gist options
  • Save dublado/c836bcf50d62b259d216b213611e12fa to your computer and use it in GitHub Desktop.
Save dublado/c836bcf50d62b259d216b213611e12fa to your computer and use it in GitHub Desktop.
#!/bin/bash
for i in *.HEIC
do
#echo $i
#ffmpeg -i "$i" -frames:v 1 -vsync vfr -q:v 1 -an "${i%HEIC}jpg"
sips --setProperty format jpeg "$i" --out "${i%HEIC}jpg"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment