Skip to content

Commit

Permalink
Don't leave x.jpg_original files around from ExifTool.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jun 22, 2016
1 parent 01993e5 commit 8d8ab97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion archive_imessage.pl
Expand Up @@ -204,7 +204,7 @@ sub set_image_orientation {
my $orientation = shift;
my $trash = shift;
if (defined $orientation) {
my $cmdline = "$program_dir/exiftool/exiftool -q -n -Orientation=$orientation '$fname'";
my $cmdline = "$program_dir/exiftool/exiftool -overwrite_original_in_place -q -n -Orientation=$orientation '$fname'";
dbgprint("marking image orientation: $cmdline\n");
if (system($cmdline) != 0) {
unlink($fname) if $trash;
Expand Down

0 comments on commit 8d8ab97

Please sign in to comment.