long option

This commit is contained in:
Bela 2018-11-18 00:49:43 +01:00
parent 1d60035430
commit 6f47bde825

View file

@ -182,7 +182,7 @@ addDates()
201[0-9]_[01][0-9]_[0-3][0-9]*)
vLog "dont rename bc already date there: $fil";;
*.[jJ][pP][gG]|*.[jJ][pP][eE][gG]|*.[pP][nN][gG]) #|*.3gp|*.[aA][vV][iI])
date=$(exiftool -d "%Y_%m_%d_%H%M%S" -CreateDate "$fil" | awk '{print $4}')
date=$(exiftool -dateFormat "%Y_%m_%d_%H%M%S" -CreateDate "$fil" | awk '{print $4}')
# -z length is zero
if test -z "$date"
then