exiftool

Home

see also

  • MiniExiftool - a ruby wrapper for the ExifTool command-line

Usage

$ exiftool -Comment <image.jpg>	              # read comment
$ exiftool -Comment="my comment" <image.jpg   # write comment

Standard Metadata

-Title=”Golden Gate at Dawn”
-Description=”Golden Gate Bridge at sunrise with fog.”
-Comment==”missed boat” -Label=”Approved”

Tags

$ exiftool \
  -XMP-dc:Subject+="mountains" \
  -XMP-dc:Subject+="fog" \
  -XMP-lr:HierarchicalSubject+="Nature|Mountains" \
  -XMP-lr:HierarchicalSubject+="Nature|Fog" \
  image.jpg
  
# shortcuts
$ exiftool -Keywords="sunset, mountains, fog" image.jpg
Written on December 17, 2025, Last update on
image metadata jpeg ruby