Hello. I faced strange problem, and can not find the answer.
I was using ExifTool for a while, but few days ago noticed, that my usual "scripts" stopped working, with the same reason for all "scripts"
C:\Program Files (x86)\Portable\ExifTool>exiftool.exe -@ args_mamiya.txt MMFC0061.tiff
Warning: Error opening file - /MMFC0061.MEF
0 image files updated
1 image files unchanged
args_mamiya.txt is very simple:
-tagsfromfile
%d/%8f.MEF
-overwrite_original
-MakerNotes=
-orientation<idf0:Orientation
I verified that ExifTool can read metadata from the corresponding raw file:
C:\Program Files (x86)\Portable\ExifTool>exiftool.exe -s -G1 MMFC0061.MEF
[ExifTool] ExifToolVersion : 10.60
[System] FileName : MMFC0061.MEF
[System] Directory : .
[System] FileSize : 35 MB
[System] FileModifyDate : 2018:01:03 09:44:34+02:00
[System] FileAccessDate : 2018:01:06 10:02:48+02:00
[System] FileCreateDate : 2018:01:06 10:02:48+02:00
[System] FilePermissions : rw-rw-rw-
[File] FileType : MEF
...
And the same problem is for all "scripts" I'm using.
Could anybody help me please?
Did you already check you have write permission on those files and directories?
You shouldn't have a "/" between %d and %f in your -tagsFromFile argument.
- Phil
Quote from: Hayo Baan on January 06, 2018, 06:03:54 AM
Did you already check you have write permission on those files and directories?
Sure.
Quote from: Phil Harvey on January 06, 2018, 06:42:41 AM
You shouldn't have a "/" between %d and %f in your -tagsFromFile argument.
Oh, thank you! Don't have an idea where it came from.
But now I have next problem:
C:\Program Files (x86)\Portable\ExifTool>exiftool.exe -@ args_mamiya.txt MMFC0061.tiff
Warning: No writable tags set from MMFC0061.MEF
0 image files updated
1 image files unchanged
To be precise - I want to set Orientation tag from MEF. ExifTool says:
C:\Program Files (x86)\Portable\ExifTool>exiftool.exe -s -G1 MMFC0061.MEF
...
[IFD0] Orientation : Rotate 90 CW
So it can read MEF.
It should be spelt "ifd0", not "idf0" in your argfile.
- Phil
Quote from: Phil Harvey on January 06, 2018, 10:01:34 AM
It should be spelt "ifd0", not "idf0" in your argfile.
Thank you! Sorry for stupid mistype :(