From 3d21dadf4102e9101e48a0c6f739a544f7f9d9de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Horst=20H=C3=B6ck?= <6313998+hhoeck@users.noreply.github.com> Date: Mon, 28 Sep 2020 21:49:31 +0200 Subject: [PATCH] Update exiftool.py Solve "Param --exiftool ruins --touch-file #222" --- osxphotos/exiftool.py | 1 + 1 file changed, 1 insertion(+) diff --git a/osxphotos/exiftool.py b/osxphotos/exiftool.py index 6e4fdbd0..b54ac9d6 100644 --- a/osxphotos/exiftool.py +++ b/osxphotos/exiftool.py @@ -98,6 +98,7 @@ class _ExifToolProc: "-", # read from stdin "-common_args", # specifies args common to all commands subsequently run "-n", # no print conversion (e.g. print tag values in machine readable format) + "-P", # Preserve file modification date/time (possible interfere w/ --touch-file) "-G", # print group name for each tag ], stdin=subprocess.PIPE,