Open hfst1 opened 2 years ago
I did it with this
echo convert basename $fullheifname
heifname=basename $fullheifname .HEIC
jpgname=$heifname.jpg
heif-convert $fullheifname /tmp/$tmp/$jpgname
echo heif-convert executed
jhead -ft -n%Y%m%d_%H%M%S /tmp/$tmp/$jpgname
echo jhead executed
newheifname=`ls /tmp/$tmp/*.jpg`
newheifname=`basename $newheifname .jpg`
newheifname=$newheifname.HEIC
mv $fullheifname `dirname $fullheifname`/$newheifname
One more wish: a program heifhead which works similar to jhead. I use jhead to code date in time in the filename like jhead -ft -n%Y%m%d_%H%M%S and want to do the same thing with HEIC-files. Thanks