From a5586ec611fc20aec84e43b8175b9a5af4e51538 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Sun, 2 Dec 2018 16:34:44 +0100 Subject: rename-pix-by-time-and-cam: alternative timestamp --- rename-pix-by-time-and-cam | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'rename-pix-by-time-and-cam') diff --git a/rename-pix-by-time-and-cam b/rename-pix-by-time-and-cam index 592e432..0dee002 100755 --- a/rename-pix-by-time-and-cam +++ b/rename-pix-by-time-and-cam @@ -32,6 +32,10 @@ ids.each do |i| elsif j.start_with? "Date/Time Original" timestamp = j elsif j.start_with? "File Modification Date/Time" + if not timestamp_bak + timestamp_bak = j + end + elsif j.start_with? "Creation Date" timestamp_bak = j else next -- cgit v1.2.3