libextractor

Extract metadata and embedded files from various file formats

brewmacoslinux
Try with needOr install directly
Source

About

Library to extract meta data from files

Commands

extract

Examples

Extract metadata from an image file$ extract image.jpg
Extract metadata from a PDF document$ extract document.pdf
Extract metadata with verbose output showing all details$ extract -v audio.mp3