commands.sh

exif

linux

Show and change EXIF information in JPEG files.

More info →

Options (5)

-l, --list-tagsboolean

Show a table listing known EXIF tags and whether each one exists in an image

Example: exif {{[-l|--list-tags]}} --no-fixup {{path/to/image.jpg}}
-e, --extract-thumbnailboolean

Extract the image thumbnail into a separate file

Example: exif {{[-e|--extract-thumbnail]}} {{[-o|--output]}} {{path/to/thumbnail.jpg}} {{path/to/image.jpg}}
-o, --outputboolean

Extract the image thumbnail into a separate file

Example: exif {{[-e|--extract-thumbnail]}} {{[-o|--output]}} {{path/to/thumbnail.jpg}} {{path/to/image.jpg}}
-t, --tagboolean

Show the raw contents of the "Model" tag in the given image

Example: exif --ifd {{0}} {{[-t|--tag]}} "Model" {{[-m|--machine-readable]}} {{path/to/image.jpg}}
-m, --machine-readableboolean

Show the raw contents of the "Model" tag in the given image

Example: exif --ifd {{0}} {{[-t|--tag]}} "Model" {{[-m|--machine-readable]}} {{path/to/image.jpg}}

Examples (5)

Show all recognized EXIF information in an image

exif path/to/image.jpg

Show a table listing known EXIF tags and whether each one exists in an image

exif [-l|--list-tags] --no-fixup path/to/image.jpg

Extract the image thumbnail into a separate file

exif [-e|--extract-thumbnail] [-o|--output] path/to/thumbnail.jpg path/to/image.jpg

Show the raw contents of the "Model" tag in the given image

exif --ifd 0 [-t|--tag] "Model" [-m|--machine-readable] path/to/image.jpg

Change the value of the "Artist" tag to John Smith and save to `new.jpg`

exif [-o|--output] path/to/new.jpg --ifd 0 [-t|--tag] "Artist" --set-value "John Smith" --no-fixup path/to/image.jpg
made by @shridhargupta | data from tldr-pages