ExifTool

ExifTool is a command-line tool and programming library to read, write, and edit metadata, created by Phil Harvey. It is primarily used with image files, though it can read a variety of metadata formats, including ID3 tags on MP3 files.

Snippets

Remove all tags from a folder of images:

exiftool -all= -overwrite_original *.jpg

Print all tags and show their group names:

exiftool -s -G filename.jpg

Create/update XMP sidecar files for each HEIC image, searching recursively:

exiftool -ext HEIC -tagsfromfile @ -srcfile %d%f.xmp -R .