From: Martin Pitt Date: Sun, 7 May 2017 16:36:05 +0000 (+0200) Subject: rename-photos: disabled alternative for naming by timestamp X-Git-Url: https://piware.de/gitweb/?p=bin.git;a=commitdiff_plain;h=ae71d0a17c88c16fd0297a163b430459598e273b rename-photos: disabled alternative for naming by timestamp --- diff --git a/rename-photos b/rename-photos index eba8c0b..ea84f80 100755 --- a/rename-photos +++ b/rename-photos @@ -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