_dump/heic.sh

7 lines
124 B
Bash
Executable File

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