_dump/heic.sh

7 lines
124 B
Bash
Raw Permalink Normal View History

#!/usr/bin/env zsh
for f in "$@"
do
echo "Converting $f ..."
heif-convert $f "$f-$(date +\%Y-\%m-\%d@\%H-\%M).jpg"
done