ExifTool Forum

ExifTool => Newbies => Topic started by: frorb on May 11, 2018, 01:04:49 PM

Title: Error when trying to batch copy CR2 orientation tag to JPG
Post by: frorb on May 11, 2018, 01:04:49 PM
My Canon EOS 6D correctly sets the orientation tag for CR2 (raw) files, but fails to do so for the simultaneously created JPG. So I thought to try this:

exiftool -tagsfromfile %d%f.cr2 -orientation -ext JPG .

but I'm getting an error:

E:\Images\EOS6D\2014\12\2014-12-29\rotate>exiftool -tagsfromfile %d%f.cr2 -orientation -ext JPG .
Error: Error creating file: ./IMG_0027.JPG_exiftool_tmp - ./IMG_0027.JPG
Error: Error creating file: ./IMG_0028.JPG_exiftool_tmp - ./IMG_0028.JPG
    1 directories scanned
    0 image files updated
    2 files weren't updated due to errors


Is there something wrong with my command?

This is on Windows 10. I have tried in a command window 'as administrator', and tried setting read/write/modify permissions for 'everyone' on the working folder.
Title: Re: Error when trying to batch copy CR2 orientation tag to JPG
Post by: Phil Harvey on May 11, 2018, 03:05:05 PM
There is nothing wrong with your command, but you need write privileges for the directory with the images.  Try running exiftool as admin maybe.

- Phil
Title: Re: Error when trying to batch copy CR2 orientation tag to JPG
Post by: frorb on May 12, 2018, 04:17:42 AM
Solved.

It was the Bitdefender 'safe files' feature blocking access to exiftool.exe.