How could be the code for this?
I want create a single HTML file with the information of multiples images, not one HTML per image.
Try this:
exiftool -h -g1 FILES > out.html
Where FILES is one or more file and/or directory names.
This will write HTML-formatted tables with the information. I added the -g1 option because personally I like to have these group headings.
Notes that the output html file will not contain a proper html header, etc. You must generate these yourself if they are needed.
- Phil