exiftool produces multiple lines of output for each file it processes. I want to invoke it on all the jpgs in a directory, and I want to see how many lines are output for each file. Doing this,
exiftool *.jpg | measure-object -line
gives me the total number of lines of output for all files together, not the number of lines for each file. I also tried this,
exiftool *.jpg | foreach{get-content $_ | measure-object -line}
but that just showed that I don't know how to use Powershell (i.e., I got a lot of error messages). Help?