Add -overwrite_original option to exiftool (#1201)
Add -overwrite_original option to exiftool to avoid creating a copy of the image file. Adds -P option to preserve file modification time
This commit is contained in:
parent
cc8998f9a9
commit
035ed97033
1 changed files with 1 additions and 1 deletions
|
@ -12,4 +12,4 @@ fi
|
|||
|
||||
# Remove Exif orientation flag as JPEG is rotated already:
|
||||
|
||||
/usr/bin/exiftool -n -Orientation=1 "$2"
|
||||
/usr/bin/exiftool -overwrite_original -P -n -Orientation=1 "$2"
|
||||
|
|
Loading…
Reference in a new issue