ExifTool Forum

ExifTool => Install Problems => Topic started by: pedro3 on June 10, 2018, 11:29:10 AM

Title: Re: Exiftool produces error in attempting to read documentation
Post by: pedro3 on June 10, 2018, 11:29:10 AM
I have not used exiftool since 2013. It was simple then. Today I tried to install and run the windows command line version on windows 7 64-bit
C:\pvfexec>exiftool
Error running more C:\Users\***\AppData\Local\Temp\par-5065746572204661636579\\exiftool_doc.txt

Both running exiftool.exe in command window, or clicking on exiftool(-k).exe on desktop, does NOT write exiftool_doc.txt in the specified par* folder (I did not install perl). The only thing in that folder is a folder named cache-exiftool-11.00 with 946 files in it. Yes I am admin. Yes I have write permission.

Secondly, I wanted to copy gps EXIF data from a set of jpg files to a matching set of dng files. I had to create a batch file thus
c:\pvfexec\exiftool -tagsfromfile 20180522_134648.jpg -gps:all 20180522_134648.dng
c:\pvfexec\exiftool -tagsfromfile 20180522_135617.jpg -gps:all 20180522_135617.dng
c:\pvfexec\exiftool -tagsfromfile 20180522_135731_001.jpg -gps:all 20180522_135731_001.dng
c:\pvfexec\exiftool -tagsfromfile 20180525_105411.jpg -gps:all 20180525_105411.dng
...

but why can't I use wildcards in the tagsfromfile input specifier?
exiftool -tagsfromfile *.jpg -gps:all *.dng
ought to work.
Is there another way of doing it which doesn't require me to build a batch file from scratch?
Title: Re: Exiftool produces error in attempting to read documentation
Post by: StarGeek on June 10, 2018, 11:45:01 AM
I can't speak to the problem with the doc text, but try this for your command:
exiftool -TagsFromFile %d%f.jpg -gps:all -ext dng /Target/Directory

This will select all DNG files in the target directory, look for a matching jpg file in the same directory, and copy the GPS tags from the jpg file to the DNG file.
Title: Re: Exiftool produces error in attempting to read documentation
Post by: Phil Harvey on June 10, 2018, 01:52:13 PM
The doc problem may be due to permissions or antivirus software, or maybe "more" isn't accessible/available for some reason.

But the application documentation is available in lots of places (html (https://exiftool.org/exiftool_pod.html), or pdf (https://exiftool.org/exiftool_pod.pdf)).

- Phil
Title: Re: Exiftool produces error in attempting to read documentation
Post by: pedro3 on June 13, 2018, 12:11:50 PM
Thanks, that command will save me a lot of bother.

My permissions are ok. Perhaps the windows standalone exe does not install anything in \PAR* whereas the -k version wouldn't work because I did not install Perl. Anyway I suppose it doesn't matter.
Title: Re: Exiftool produces error in attempting to read documentation
Post by: Phil Harvey on June 13, 2018, 12:23:10 PM
exiftool.exe and exiftool(-k).exe are the exact same application.  It is a bundle with Perl built in.

- Phil