I'm looking to use ExifTool throught it's Matlab .m files: getexif.m and putexif.m
After follwoing the instructions outlined in the .m file I tried to run getexif.m but when I did the ouputed variable read
'exiftool.exe' is not recognized as an internal or external command, operable program or batch file.
I was wondering if you knew why this was happening and how I could go about fixing it?
Did you rename "exiftool(-k).exe" to "exiftool.exe". Is it located somewhere in that PATH?
Either of these could case the problem. But you can also try using the full path instead of just "exiftool.exe", something like "c:\some_directory\exiftool.exe".
- Phil
Hi Phil,
I also wrote my bespoke code to run Exiftool from MATLAB. However, the problem with culling through hundreds or files is that it takes a long time since I call Exiftool for every file. Is there a way that I could pass a whole filelist to Exiftool or a way to keep the program open while I am sending filenames and arguments from MATLAB?
Any help is appreciated. Cheers,
Geert
Quote from: gverhoev on November 21, 2018, 01:34:22 PMIs there a way that I could pass a whole filelist to Exiftool
See the
-@ (Argfile) option (https://exiftool.org/exiftool_pod.html#ARGFILE). Write a list of all file paths to a file, then pass that file to exiftool with
-@ Filelist.txt.
Quoteor a way to keep the program open while I am sending filenames and arguments from MATLAB?
See the
-stay_open option (https://exiftool.org/exiftool_pod.html#stay_open-FLAG). This option is more complex but there are some examples scattered around this forum.