long option
This commit is contained in:
parent
1d60035430
commit
6f47bde825
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ addDates()
|
||||||
201[0-9]_[01][0-9]_[0-3][0-9]*)
|
201[0-9]_[01][0-9]_[0-3][0-9]*)
|
||||||
vLog "dont rename bc already date there: $fil";;
|
vLog "dont rename bc already date there: $fil";;
|
||||||
*.[jJ][pP][gG]|*.[jJ][pP][eE][gG]|*.[pP][nN][gG]) #|*.3gp|*.[aA][vV][iI])
|
*.[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
|
# -z length is zero
|
||||||
if test -z "$date"
|
if test -z "$date"
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in a new issue