Output problem ("duplicate" ?)

Started by Iwonder, May 05, 2024, 05:16:49 AM

Previous topic - Next topic

Iwonder

Hello,

Independantly, both following commands work fine :
exiftool.exe -T -Filename -RegionPersonDisplayName *.jpg > testA.txt

exiftool.exe -T -Filename -RegionInfoMP -struct *.jpg > testB.txt


But I need both informations in the output text file. When combining both arguments in a single command, only the -RegionInfoMP is written.

I tried the -a option, but no change.
Is there an easy way to get both ?

StarGeek

I don't think it's possible. At least, I don't see a way.  The addition of the -struct option forces all output to be structured and flattened tags don't get extracted.
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

Phil Harvey

Add -api struct=2 to your command.  See the API Struct option description for more information.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Iwonder

@StarGeek, @Phil Harvey

Thanks a lot !!!