Page 1 of 1

EXIF data report

Posted: 05 Feb 2024 20:48
by GUIguy
Is there a way, script or otherwise, to show/report ALL the EXIF data for a group of photos?

I need this for legal purposes even though I'm just a private individual.

Thanks...

Re: EXIF data report

Posted: 05 Feb 2024 21:13
by highend
Run exiftool over the selected items?

Re: EXIF data report

Posted: 05 Feb 2024 21:39
by GUIguy
Thanks, highend...
I tried EXIFTOOL but I could not see a way to do multiple items at once.

And I have to admit that I'm a GUI person (note my username!) and don't do well with command lines. I tried the EXIFTOOL GUI that someone wrote, but can't get it to work.

At any rate, I have a whole bunch (50+) photos where I want to create a report of EXIF data as opposed to doing it one by one.

Re: EXIF data report

Posted: 05 Feb 2024 21:56
by highend

Code: Select all

    $exiftoolCLI = "D:\Tools\@Command Line Tools\exiftool\exiftool.exe";
    $items       = <get SelectedItemsPathNames>;
    $report      = "";
    foreach($item, $items, <crlf>, "e") {
        $data   = runret(lax("$exiftoolCLI" "$item"), <curpath>, 65001);
        $report .= $item . <crlf> . strrepeat("=", strlen($item)) . <crlf> . $data . <crlf 3>;
    }
    text $report;