zinghas.blogg.se

Exiftool tagsfromfile
Exiftool tagsfromfile







exiftool tagsfromfile

So to me it seems like the string concatenation in the exec() function is formed properly for exiftool but something must be happening before the command is passed by ImageJ to the system. When I run this on the command line in Ubuntu it works just fine. The string created within the exec function is: exiftool -tagsfromfile "/media/nedhorning/684EE5FF4EE5C642/AMNH/PhotoMonitoring/Vignetting/test image/2016_0401_105800_094.JPG" "/media/nedhorning/684EE5FF4EE5C642/AMNH/PhotoMonitoring/Vignetting/output image/2016_0401_105800_094.jpg" The exiftool needs double-quotes if the path has spaces. exiftool -DateTimeOriginal>FileModifyDate dir Use the original date from the meta information to set the same files filesystem modification date for all images in a directory. This is the line giving me problems: exec(exiftoolDirectory + "exiftool -tagsfromfile " + "\"" + inDirectory + filesToProcess + "\"" + " " + "\"" + outDirectory + outputFileName + "\"") exiftool -tagsfromfile src.jpg -exif:all -subifd:all dst.jpg Copy only the EXIF information from one image to another, excluding SubIFD tags. I have it working but a colleague asked me to make it work with spaces in directory paths and now I’m stuck. I am writing a macro and at the end I want to run exiftool to copy metadata from one image to another.









Exiftool tagsfromfile