From 5cf7a35e03ddb47f27367eb610ac6f4ae8c56344 Mon Sep 17 00:00:00 2001 From: Markus Birth Date: Tue, 25 Aug 2015 18:07:05 +0200 Subject: [PATCH] Set file timestamp after normalising. --- convert_single.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/convert_single.sh b/convert_single.sh index 45b89a4..9797eb6 100755 --- a/convert_single.sh +++ b/convert_single.sh @@ -35,8 +35,9 @@ if [ -f "$1" ]; then mv "$BASENAME.exv" "${BASENAME}_xmp.exv" exiv2 in -M "reg GPano http://ns.google.com/photos/1.0/panorama/" -M "set Xmp.GPano.PosePitchDegrees 0" -M "set Xmp.GPano.PoseRollDegrees 0" "${BASENAME}_xmp.jpg" rm "${BASENAME}_xmp.exv" + exiv2 mv -T "${BASENAME}_xmp.jpg" else - echo "RICOH Theta to PhotoSphere converter" + echo "RICOH Theta PhotoSphere normaliser" echo "Usage: $0 file" exit 3 fi