rename-photos: disabled alternative for naming by timestamp
authorMartin Pitt <martin@piware.de>
Sun, 7 May 2017 16:36:05 +0000 (18:36 +0200)
committerMartin Pitt <martin@piware.de>
Sun, 7 May 2017 16:36:05 +0000 (18:36 +0200)
rename-photos

index eba8c0b37127201ff9af975a0209f6cd6f5e2c85..ea84f8088a513877c0561a3f80c53924979e0a86 100755 (executable)
@@ -11,6 +11,7 @@ for f in *.JPG *.jpg; do
     [ -f "$f" ] || continue
     title=`exiv2 pr -Pv -gXmp.photoshop.Headline "$f"` || title=''
     newname=`printf "%03i" $num`
+    #newname=`exiv2 pr -Pv -gExif.Image.DateTime "$f"`
     if [ -n "$title" ]; then
        newname="$newname - $title"
     fi