0

I would like to pass a parameter containing white space. For example:

C:\temp>exiftool.exe -"Region Person Display Name" temp.jpg

Can someone please give me direction here? The obvious does not appear to work.

Ajax
  • 1,418
  • 2
  • 17
  • 38
  • Your parameter with spaces is getting passed fine for most applications. I suspect it is simply incorrect usage of EXIFTOOL.EXE. – dbenham Oct 26 '14 at 13:16

2 Answers2

1

Found out what was going on via trial and error. This is not contained in the exif documentation: when passing a tag to exiftool.exe, you need to drop the white space from the tag name. For example, if the tag name is "Region Person Display Name", the code will read:

C:\temp>exiftool.exe -"RegionPersonDisplayName" temp.jpg

From what I can tell, this 'feature' is not documented.

Ajax
  • 1,418
  • 2
  • 17
  • 38
0

According to the man, in linux, you just remove the space :

$ exiftool -LightSource opencamera2.jpg 
Light Source                    : Daylight
Remy Mellet
  • 1,675
  • 20
  • 23