Skip to content

Instantly share code, notes, and snippets.

@skanehira
Created July 10, 2023 15:45
#!/bin/bash
dir=$1
for file in `ls $dir/*.HEIC`; do
filename=`basename ${file} .HEIC`
sips --setProperty format jpeg $file --out ${dir}/${filename}.jpeg
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment